Skip to content

Commit e85a8c2

Browse files
committed
build(umd.js): changed libary to Ootk in umd scripts to be consistent among classes
BREAKING CHANGE: ootk now called Ootk
1 parent f86f53d commit e85a8c2

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

scripts/umd.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ let config = {
2020
resolve: {
2121
alias: {
2222
// eslint-disable-next-line no-path-concat, no-undef
23-
'@app': __dirname + '/../src',
23+
'@src': __dirname + '/../src',
2424
},
2525
},
2626
};
@@ -37,7 +37,7 @@ let umd = {
3737
},
3838
output: {
3939
filename: '[name].js',
40-
library: 'ootk',
40+
library: 'Ootk',
4141
libraryTarget: 'umd',
4242
// eslint-disable-next-line no-path-concat, no-undef
4343
path: __dirname + '/../dist',
@@ -60,7 +60,7 @@ let minUmd = {
6060
},
6161
output: {
6262
filename: '[name].min.js',
63-
library: 'ootk',
63+
library: 'Ootk',
6464
libraryTarget: 'umd',
6565
// eslint-disable-next-line no-path-concat, no-undef
6666
path: __dirname + '/../dist',

src/ootk.es.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
* SOFTWARE.
2626
*/
2727

28-
import { Sgp4 } from './ootk-sgp4.es';
29-
import { Transforms } from './ootk-transforms.es';
28+
import { Sgp4 } from './ootk-sgp4.es.js';
29+
import { Transforms } from './ootk-transforms.es.js';
30+
import { Utils } from './ootk-utils.es.js';
3031

31-
export { Sgp4, Transforms };
32+
export { Sgp4, Transforms, Utils };

0 commit comments

Comments
 (0)