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",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "vite build",
|
||||
|
||||
Reference in new issue
Block a user