mirror of
https://github.com/abhijithvijayan/web-extension-starter.git
synced 2025-10-07 07:22:37 +02:00
chore: Add EnvironmentPlugin
This commit is contained in:
parent
3541582d21
commit
9fe632f0f5
@ -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