diff --git a/.eslintignore b/.eslintignore index 9858f3e..e74db40 100644 --- a/.eslintignore +++ b/.eslintignore @@ -11,7 +11,7 @@ dist .husky .local /bin -.eslintrc.js +.eslintrc.cjs prettier.config.js src/assets tailwind.config.js diff --git a/.eslintrc.js b/.eslintrc.cjs similarity index 100% rename from .eslintrc.js rename to .eslintrc.cjs diff --git a/package.json b/package.json index 3e412a4..39fc03e 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "description": "RuoYi-Vue-Plus多租户管理系统", "author": "LionLi", "license": "MIT", + "type": "module", "scripts": { "dev": "vite serve --mode development", "build:prod": "vite build --mode production",