Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

Upgrade webpack #86

Merged
merged 8 commits into from
Jul 10, 2017
Merged

Upgrade webpack #86

merged 8 commits into from
Jul 10, 2017

Conversation

SimenB
Copy link
Contributor

@SimenB SimenB commented Jul 7, 2017

Fixes #83

You should probably test this properly before merge.

A build works, and the dev server started, but I didn't start up the API, so haven't tested navigating

@SimenB SimenB requested review from sveisvei and ivarconr July 7, 2017 06:53
package.json Outdated
"identity-obj-proxy": "^3.0.0",
"jest": "^20.0.4",
"node-sass": "~3.12.1",
"postcss-loader": "^0.13.0",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

unused

@@ -34,7 +34,7 @@ function storeApplicationMetaData (appName, key, value) {
}).then(throwIfNotSuccess);
}

module.exports = {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

all of these import/export changes were because webpack complained

@@ -1,9 +1,12 @@
{
"presets": ["react", "es2015", "stage-2"],
"presets": ["react", ["es2015", {"modules": false}], "stage-2"],
Copy link
Contributor Author

Choose a reason for hiding this comment

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

might consider preset-env?

@SimenB
Copy link
Contributor Author

SimenB commented Jul 7, 2017

@sveisvei did you test it?

Afraid we might hit webpack-contrib/extract-text-webpack-plugin#548 (comment)

@SimenB SimenB merged commit 076db77 into master Jul 10, 2017
@SimenB SimenB deleted the webpack-3 branch July 10, 2017 21:30
"build:html": "cp public/*.html dist/.",
"build:ico": "cp public/*.ico dist/.",
"build:img": "cp public/*.png dist/public/.",
"start": "NODE_ENV=development webpack-dev-server --config webpack.config.js --progress --colors",
"start": "NODE_ENV=development webpack-dev-server --progress --colors --display-optimization-bailout",
Copy link
Member

Choose a reason for hiding this comment

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

webpack-dev-server says Unknown argument: display-optimization-bailout!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, I didn't actually test that... It can be removed, it's really just useful for production

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.

3 participants