Declare the Vue package as an ES module
vite.config.js uses ESM syntax, but without "type": "module" Node treats it as CommonJS. Vite warned that this will break once its native config loader becomes the default.
This commit is contained in:
1 parent
b9a066e737
commit
b70b3339de
1 file changed
+1
@@ -2,6 +2,7 @@
|
|||||||
"name": "rss",
|
"name": "rss",
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
|
|||||||
Reference in new issue
Block a user