mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-12-24 14:09:53 +05:30
Add env plugin in webpack dll config
This commit is contained in:
parent
d13dee748d
commit
08a2158042
@ -43,6 +43,9 @@ const webpackConfig = {
|
|||||||
name: '[name]',
|
name: '[name]',
|
||||||
path: path.join(outputPath, '[name].json'),
|
path: path.join(outputPath, '[name].json'),
|
||||||
}),
|
}),
|
||||||
|
new webpack.EnvironmentPlugin({
|
||||||
|
NODE_ENV: process.env.NODE_ENV,
|
||||||
|
}),
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user