Skip to content

Commit 5599248

Browse files
committed
Update building process for default ESM and update dependencies.
1 parent ddb7b7f commit 5599248

File tree

4 files changed

+486
-533
lines changed

4 files changed

+486
-533
lines changed

babel.config.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

package.json

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"repository": "https://github.com/antoniandre/vueper-slides",
88
"license": "MIT",
99
"funding": "https://github.com/sponsors/antoniandre",
10-
"main": "./dist/vueperslides.umd.js",
10+
"main": "./dist/vueperslides.es.js",
1111
"unpkg": "./dist/vueperslides.umd.js",
1212
"jsdelivr": "./dist/vueperslides.umd.js",
1313
"module": "./dist/vueperslides.es.js",
@@ -22,6 +22,12 @@
2222
"./package.json": "./package.json",
2323
"./dist/*": "./dist/*"
2424
},
25+
"type": "module",
26+
"sideEffects": [
27+
"*.css",
28+
"*.scss",
29+
"*.vue"
30+
],
2531
"keywords": [
2632
"carousel",
2733
"slideshow",
@@ -38,11 +44,8 @@
3844
"lint": "vite lint"
3945
},
4046
"devDependencies": {
41-
"@babel/core": "^7.26.0",
42-
"@babel/eslint-parser": "^7.26.5",
4347
"@fortawesome/fontawesome-free": "^5.15.4",
44-
"@vitejs/plugin-vue": "^3.2.0",
45-
"@vue/compiler-sfc": "^3.5.13",
48+
"@vitejs/plugin-vue": "^5.2.1",
4649
"autoprefixer": "^10.4.20",
4750
"eslint": "^8.57.1",
4851
"eslint-plugin-import": "^2.31.0",
@@ -51,16 +54,19 @@
5154
"eslint-plugin-vue": "^9.32.0",
5255
"postcss": "^8.4.49",
5356
"pug": "^3.0.3",
54-
"rollup": "^3.29.5",
5557
"rollup-plugin-delete": "^2.1.0",
5658
"sass": "^1.83.1",
5759
"simple-syntax-highlighter": "^2.2.5",
58-
"vite": "^3.2.11",
60+
"vite": "^6.0.7",
5961
"vue": "^3.5.13",
6062
"vue-router": "^4.5.0",
6163
"wave-ui": "^3.18.0"
6264
},
6365
"peerDependencies": {
64-
"vue": "^2.6.14 || ^3.2.0"
66+
"vue": "^3.2.0"
67+
},
68+
"engines": {
69+
"node": ">=16.0.0",
70+
"pnpm": ">=8.0.0"
6571
}
6672
}

0 commit comments

Comments
 (0)