|
|
@ -72,6 +72,8 @@ if (process.env.NODE_ENV === 'production') { |
|
|
|
export default packageConfigs |
|
|
|
|
|
|
|
function createConfig(output, plugins = []) { |
|
|
|
output.externalLiveBindings = false |
|
|
|
|
|
|
|
const isProductionBuild = |
|
|
|
process.env.__DEV__ === 'false' || /\.prod\.js$/.test(output.file) |
|
|
|
const isGlobalBuild = /\.global(\.prod)?\.js$/.test(output.file) |
|
|
|