mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 07:21:17 +08:00
Merge pull request #30651 from storybookjs/valentin/remove-process-env-settings-from-build-step
Core: Don't set process.env.NODE_ENV and process.env.DEV
This commit is contained in:
commit
b325e169c7
@ -124,10 +124,6 @@ async function run() {
|
||||
platform: 'neutral',
|
||||
mainFields: ['main', 'module', 'node'],
|
||||
conditions: ['node', 'module', 'import', 'require'],
|
||||
define: {
|
||||
'process.env.NODE_ENV': '"production"',
|
||||
'process.env.DEV': '"false"',
|
||||
},
|
||||
} satisfies EsbuildContextOptions;
|
||||
|
||||
const browserAliases = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user