From 6d05ca6fdc84f27898011bf3c49fe7b852e0db22 Mon Sep 17 00:00:00 2001 From: baiqi Date: Tue, 9 Jul 2024 18:24:19 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E9=A1=B9=E7=9B=AE=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E6=A0=87=E5=87=86=E4=B8=BA=20ESM=EF=BC=8C=E6=98=BE=E5=BC=8F?= =?UTF-8?q?=E5=A3=B0=E6=98=8Ecjs=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/{.eslintrc.js => .eslintrc.cjs} | 0 frontend/{.prettierrc.js => .prettierrc.cjs} | 0 frontend/{.stylelintrc.js => .stylelintrc.cjs} | 0 frontend/{babel.config.js => babel.config.cjs} | 0 frontend/{commitlint.config.js => commitlint.config.cjs} | 0 frontend/package.json | 1 + frontend/{postcss.config.js => postcss.config.cjs} | 0 frontend/{tailwind.config.js => tailwind.config.mjs} | 0 8 files changed, 1 insertion(+) rename frontend/{.eslintrc.js => .eslintrc.cjs} (100%) rename frontend/{.prettierrc.js => .prettierrc.cjs} (100%) rename frontend/{.stylelintrc.js => .stylelintrc.cjs} (100%) rename frontend/{babel.config.js => babel.config.cjs} (100%) rename frontend/{commitlint.config.js => commitlint.config.cjs} (100%) rename frontend/{postcss.config.js => postcss.config.cjs} (100%) rename frontend/{tailwind.config.js => tailwind.config.mjs} (100%) diff --git a/frontend/.eslintrc.js b/frontend/.eslintrc.cjs similarity index 100% rename from frontend/.eslintrc.js rename to frontend/.eslintrc.cjs diff --git a/frontend/.prettierrc.js b/frontend/.prettierrc.cjs similarity index 100% rename from frontend/.prettierrc.js rename to frontend/.prettierrc.cjs diff --git a/frontend/.stylelintrc.js b/frontend/.stylelintrc.cjs similarity index 100% rename from frontend/.stylelintrc.js rename to frontend/.stylelintrc.cjs diff --git a/frontend/babel.config.js b/frontend/babel.config.cjs similarity index 100% rename from frontend/babel.config.js rename to frontend/babel.config.cjs diff --git a/frontend/commitlint.config.js b/frontend/commitlint.config.cjs similarity index 100% rename from frontend/commitlint.config.js rename to frontend/commitlint.config.cjs diff --git a/frontend/package.json b/frontend/package.json index 2254b6a53d..51c04b9cf3 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -5,6 +5,7 @@ "private": true, "author": "MeterSphere Team", "license": "MIT", + "type": "module", "scripts": { "dev": "vite --config ./config/vite.config.dev.ts", "build": "vue-tsc --noEmit && vite build --config ./config/vite.config.prod.ts", diff --git a/frontend/postcss.config.js b/frontend/postcss.config.cjs similarity index 100% rename from frontend/postcss.config.js rename to frontend/postcss.config.cjs diff --git a/frontend/tailwind.config.js b/frontend/tailwind.config.mjs similarity index 100% rename from frontend/tailwind.config.js rename to frontend/tailwind.config.mjs