mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-24 10:27:28 +08:00
[feature](webapp) add script command to accommodate different Node.js versions and change lerna + npm to pnpm workspaces (#61)
This commit is contained in:
@@ -11,7 +11,7 @@ const { REACT_APP_ENV, RUN_TYPE } = process.env;
|
||||
|
||||
export default defineConfig({
|
||||
webpack5: {},
|
||||
mfsu: {},
|
||||
mfsu: false,
|
||||
define: {
|
||||
// 添加这个自定义的环境变量
|
||||
// 'process.env.REACT_APP_ENV': process.env.REACT_APP_ENV, // * REACT_APP_ENV 本地开发环境:dev,测试服:test,正式服:prod
|
||||
|
||||
Reference in New Issue
Block a user