Skip to content

Fix webpack dev server #199

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

Merged

Conversation

paulkaplan
Copy link
Contributor

Resolves

What Github issue does this resolve (please include link)?

Fixes #198

Identical fix as scratchfoundation/scratch-vm#792

Proposed Changes

Describe what this Pull Request does

Only uglify in production

Reason for Changes

Explain why these changes should be made

To fix the local development using webpack-dev-server.

cc @griffpatch

Uglify was trying to run always, including the dev-server output, which
included es6 that broke uglifier.
@@ -2,6 +2,8 @@ language: node_js
node_js:
- 6
- "node"
env:
- NODE_ENV=production

This comment was marked as abuse.

@paulkaplan paulkaplan merged commit d7d5e75 into scratchfoundation:develop Nov 17, 2017
@paulkaplan paulkaplan deleted the fix-webpack-dev-server branch November 17, 2017 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

In range update for webpack-dev-server does not work
3 participants