mirror of
https://github.com/abhijithvijayan/web-extension-starter.git
synced 2026-03-20 01:37:46 +01:00
Add EnvironmentPlugin
This commit is contained in:
parent
601cfe3707
commit
6b9942c0aa
@ -43,6 +43,7 @@ module.exports = {
|
||||
plugins: [
|
||||
new webpack.ProgressPlugin(),
|
||||
new FixStyleOnlyEntriesPlugin({ silent: true }),
|
||||
new webpack.EnvironmentPlugin(['NODE_ENV', 'TARGET_BROWSER']),
|
||||
new CleanWebpackPlugin({
|
||||
cleanOnceBeforeBuildPatterns: [
|
||||
path.join(process.cwd(), `extension/${targetBrowser}`),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user