Skip to content

Commit

Permalink
build(umd.js): changed libary to Ootk in umd scripts to be consistent…
Browse files Browse the repository at this point in the history
… among classes

BREAKING CHANGE: ootk now called Ootk
  • Loading branch information
thkruz committed Jan 13, 2021
1 parent f86f53d commit e85a8c2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions scripts/umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ let config = {
resolve: {
alias: {
// eslint-disable-next-line no-path-concat, no-undef
'@app': __dirname + '/../src',
'@src': __dirname + '/../src',
},
},
};
Expand All @@ -37,7 +37,7 @@ let umd = {
},
output: {
filename: '[name].js',
library: 'ootk',
library: 'Ootk',
libraryTarget: 'umd',
// eslint-disable-next-line no-path-concat, no-undef
path: __dirname + '/../dist',
Expand All @@ -60,7 +60,7 @@ let minUmd = {
},
output: {
filename: '[name].min.js',
library: 'ootk',
library: 'Ootk',
libraryTarget: 'umd',
// eslint-disable-next-line no-path-concat, no-undef
path: __dirname + '/../dist',
Expand Down
7 changes: 4 additions & 3 deletions src/ootk.es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
* SOFTWARE.
*/

import { Sgp4 } from './ootk-sgp4.es';
import { Transforms } from './ootk-transforms.es';
import { Sgp4 } from './ootk-sgp4.es.js';
import { Transforms } from './ootk-transforms.es.js';
import { Utils } from './ootk-utils.es.js';

export { Sgp4, Transforms };
export { Sgp4, Transforms, Utils };

0 comments on commit e85a8c2

Please sign in to comment.