mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-05-31 14:11:58 +05:30
Add env plugin in webpack dll config
This commit is contained in:
@@ -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,
|
||||||
|
}),
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user