File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 23
23
"main" : " ./dist/uui.min.js" ,
24
24
"module" : " ./lib/index.js" ,
25
25
"types" : " ./lib/index.d.ts" ,
26
+ "type" : " module" ,
27
+ "exports" : {
28
+ "import" : " ./lib/index.js" ,
29
+ "require" : " ./dist/uui.min.js"
30
+ },
26
31
"customElements" : " custom-elements.json" ,
27
32
"files" : [
28
33
" dist" ,
90
95
"@umbraco-ui/uui-toggle" : " 0.0.17"
91
96
},
92
97
"scripts" : {
93
- "build" : " npm run analyze && tsc --build --force && rollup -c rollup.config.js" ,
98
+ "build" : " npm run analyze && tsc --build && rollup -c rollup.config.js" ,
94
99
"clean" : " tsc --build --clean && rimraf dist lib/*.js lib/**/*.js custom-elements.json" ,
95
- "analyze" : " web-component-analyzer **/*.element .ts --outFile custom-elements.json"
100
+ "analyze" : " web-component-analyzer lib/index .ts --outFile custom-elements.json"
96
101
},
97
102
"publishConfig" : {
98
103
"access" : " public"
You can’t perform that action at this time.
0 commit comments