File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1414 "types" : " ./types" ,
1515 "license" : " MIT" ,
1616 "main" : " ./dist/vue-dsfr.umd.js" ,
17- "module" : " ./dist/vue-dsfr.esm.js" ,
17+ "module" : " ./dist/vue-dsfr.mjs" ,
18+ "exports" : {
19+ "." : {
20+ "require" : " ./dist/vue-dsfr.umd.js" ,
21+ "import" : " ./dist/vue-dsfr.mjs"
22+ }
23+ },
1824 "publishConfig" : {
1925 "@laruiss:registry" : " https://registry.npmjs.com" ,
2026 "access" : " public"
Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ const baseConfig = {
4242 external : [
4343 'vue' ,
4444 'vue-router' ,
45+ 'oh-vue-icons' ,
4546 'oh-vue-icons/dist/v3/icon.es' ,
4647 'oh-vue-icons/icons' ,
4748 'focus-trap' ,
@@ -68,7 +69,7 @@ export default [
6869 ...baseConfig ,
6970 output : {
7071 format : 'esm' ,
71- file : 'dist/vue-dsfr.esm.js ' ,
72+ file : 'dist/vue-dsfr.mjs ' ,
7273 globals : baseOutput . globals ,
7374 name : 'VueDsfr' ,
7475 } ,
You can’t perform that action at this time.
0 commit comments