Skip to content

Commit

Permalink
🐛 fix(custom): 修复生产环境下clarity未生效问题
Browse files Browse the repository at this point in the history
  • Loading branch information
master1lan committed Feb 19, 2023
1 parent eba2829 commit 6f4788a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions config/vite.master.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ import vitedevConfig from "./vite.dev.config";
// https://vitejs.dev/config/
//@ts-ignore
export default mergeConfig(
vitedevConfig,
defineConfig({
define: {
isdev: false,
Expand Down Expand Up @@ -101,5 +100,6 @@ export default mergeConfig(
},
},
},
})
}),
vitedevConfig
);
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
"scripts": {
"dev": "vite --config ./config/vite.dev.config.ts",
"build": "tsc && vite build --config ./config/vite.master.config.ts && node build.js",
"preview": "vite preview",
"commit": "cz",
"build:release": "vite build --config ./config/vite.release.config.ts && node build.js",
"release:changelog": "standard-version --preset gitmoji-config"
"release:changelog": "standard-version --preset gitmoji-config",
"preview": "vite preview",
"commit": "cz"
},
"config": {
"commitizen": {
Expand Down

0 comments on commit 6f4788a

Please sign in to comment.