File tree Expand file tree Collapse file tree 6 files changed +7
-24
lines changed Expand file tree Collapse file tree 6 files changed +7
-24
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,7 @@ build/*.css
106
106
build /* .less
107
107
build /* .scss
108
108
build /** /* .js
109
+ build /** /* .mjs
109
110
build /** /* .ts
110
111
build /* .map
111
112
package /* .css
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 4
4
"types" : " atropos.d.ts" ,
5
5
"type" : " module" ,
6
6
"exports" : {
7
- "." : " ./esm/atropos.esm.js" ,
8
- "./esm" : " ./react/atropos.esm.js" ,
9
- "./esm/browser" : " ./react/atropos.esm.browser.js" ,
10
- "./esm/browser/min" : " ./react/atropos.esm.browser.min.js" ,
11
- "./react" : " ./react/atropos-react.esm.js" ,
7
+ "." : " ./atropos.mjs" ,
8
+ "./react" : " ./atropos-react.mjs" ,
12
9
"./atropos.js" : " ./atropos.js" ,
13
10
"./atropos.min.js" : " ./atropos.min.js" ,
14
11
"./atropos.css" : " ./atropos.css" ,
15
12
"./atropos.min.css" : " ./atropos.min.css" ,
16
13
"./atropos.less" : " ./atropos.less" ,
17
14
"./atropos.scss" : " ./atropos.scss" ,
18
- "./element" : " ./element/ atropos-element.esm.js "
15
+ "./element" : " ./atropos-element.mjs "
19
16
}
20
17
}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- // eslint-disable-next-line import/no-unresolved
2
- import AtroposComponent from '../../build/element' ;
1
+ // eslint-disable-next-line
2
+ import AtroposComponent from '../../build/atropos- element.mjs ' ;
3
3
4
4
customElements . define ( 'atropos-component' , AtroposComponent ) ;
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
- import Atropos from '../../build/react' ;
2
+ import Atropos from '../../build/atropos- react.mjs ' ;
3
3
4
4
const App = ( ) => {
5
5
return (
You can’t perform that action at this time.
0 commit comments