Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove obsolete webpack plugins #5158

Merged
merged 3 commits into from
Sep 14, 2018
Merged

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
@@ -222,6 +222,14 @@ describe('Production Usage', () => {
})
})

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