From 6432d165c71213f90cda5c4ae250dd5b83a8cc05 Mon Sep 17 00:00:00 2001 From: ahao <liuhaoai545@gmail.com> Date: 星期五, 05 一月 2024 12:06:10 +0800 Subject: [PATCH] update 修复启动弹出cjs废弃警告 --- package.json | 1 + .eslintignore | 2 +- .eslintrc.cjs | 0 3 files changed, 2 insertions(+), 1 deletions(-) diff --git a/.eslintignore b/.eslintignore index 9858f3e..e74db40 100644 --- a/.eslintignore +++ b/.eslintignore @@ -11,7 +11,7 @@ .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", -- Gitblit v1.9.3