Skip to content

Conversation

@HaNdTriX
Copy link
Contributor

Since we are now using webpacks mode flag we can get rid of:

  • webpack.optimize.ModuleConcatenationPlugin
  • webpack.DefinePlugin (process.env.NODE_ENV)

https://webpack.js.org/concepts/mode/

@HaNdTriX HaNdTriX force-pushed the webpack-mode branch 2 times, most recently from 2a31a0e to cc65c94 Compare September 14, 2018 11:52
})
})

describe('process.env', () => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add the same test for development too 👍

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Basically copy this test into the basic test suite

@HaNdTriX HaNdTriX force-pushed the webpack-mode branch 3 times, most recently from 762b744 to 95b08d5 Compare September 14, 2018 12:21
@timneutkens timneutkens merged commit 34cb05a into vercel:canary Sep 14, 2018
@HaNdTriX HaNdTriX deleted the webpack-mode branch September 14, 2018 13:46
@lock lock bot locked as resolved and limited conversation to collaborators Sep 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants