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

fix(gatsby-plugin-netlify-cms): Add uglifyjs-webpack-plugin to dependencies #10149

Closed
wants to merge 1 commit into from

Conversation

krismorf
Copy link
Contributor

Closes #10067

@erquhart
Copy link
Contributor

We need to switch the plugin we're testing for, it's now terser instead of uglify (#10067 (comment)). I'm now considering finding a better approach than instance checking.

@krismorf
Copy link
Contributor Author

Thank @erquhart for taking over. I'll close this one.

@krismorf krismorf closed this Nov 27, 2018
@krismorf krismorf deleted the kmorf-patch-1 branch November 27, 2018 09:50
pieh pushed a commit that referenced this pull request Nov 27, 2018
Closes #10067.
Replaces #10149.

Webpack started using terser instead of uglify, which broke our plugin's check for the uglify webpack plugin (to exclude it from our pipeline). But it seems that excluding terser isn't even necessary, can't find any bugs in dev or prod builds.

The remaining plugin that needs to be avoided will be handled by name rather than instance.

cc/ @pieh
gpetrioli pushed a commit to gpetrioli/gatsby that referenced this pull request Jan 22, 2019
…byjs#10150)

Closes gatsbyjs#10067.
Replaces gatsbyjs#10149.

Webpack started using terser instead of uglify, which broke our plugin's check for the uglify webpack plugin (to exclude it from our pipeline). But it seems that excluding terser isn't even necessary, can't find any bugs in dev or prod builds.

The remaining plugin that needs to be avoided will be handled by name rather than instance.

cc/ @pieh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[gatsby-plugin-netlify-cms]: Cannot find module 'uglifyjs-webpack-plugin'
2 participants