diff --git a/Touchkebao/package.json b/Touchkebao/package.json index d95caed2..d19b8869 100644 --- a/Touchkebao/package.json +++ b/Touchkebao/package.json @@ -3,6 +3,7 @@ "version": "3.0.0", "license": "MIT", "private": true, + "type": "module", "dependencies": { "@ant-design/icons": "^5.6.1", "@sentry/react": "^10.29.0", diff --git a/Touchkebao/postcss.config.js b/Touchkebao/postcss.config.js index 82ee5d38..f228e28d 100644 --- a/Touchkebao/postcss.config.js +++ b/Touchkebao/postcss.config.js @@ -1,8 +1,8 @@ -module.exports = { - plugins: { - 'postcss-pxtorem': { - rootValue: 16, - propList: ['*'], - }, +export default { + plugins: { + "postcss-pxtorem": { + rootValue: 16, + propList: ["*"], }, -}; \ No newline at end of file + }, +}; diff --git a/Touchkebao/vite.config.ts b/Touchkebao/vite.config.mts similarity index 100% rename from Touchkebao/vite.config.ts rename to Touchkebao/vite.config.mts