-
Notifications
You must be signed in to change notification settings - Fork 185
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
[BPK-971] Upgrade webpack deps #224
Conversation
Added `--open` flag to automatically open web browser for docs dev.
4612b82
to
a002323
Compare
Generated by 🚫 dangerJS |
@@ -32,7 +32,7 @@ | |||
"build": "npm run build:tokens && npm run build:svgs && lerna run build && (cd ./native && npm run link)", | |||
"storybook": "start-storybook -p 9001", | |||
"sassdoc": "sassdoc {packages/bpk-mixins/src/**/*,packages/bpk-svgs/dist/*,packages/bpk-tokens/tokens/base.default}.scss -d dist/sassdoc -v --strict --debug", | |||
"docs": "webpack-dev-server", | |||
"docs": "webpack-dev-server --open", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome!! 🎉
I've tested storybook dev ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Surprised we didn't have to make any code changes with the Webpack 3 upgrade etc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -63,23 +60,17 @@ | |||
/******/ __webpack_require__.p = ""; | |||
/******/ | |||
/******/ // Load entry module and return exports | |||
/******/ return __webpack_require__(__webpack_require__.s = 1); | |||
/******/ return __webpack_require__(__webpack_require__.s = 0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I couldn't find in the links you posted where this change comes from - what does it do?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extract-text-webpack-plugin added sorting https://github.com/webpack-contrib/extract-text-webpack-plugin/blob/master/CHANGELOG.md#300-rc1-2017-07-07
@k0nserv me too - for comparison, here is CRA's webpack 3 upgrade PR facebook/create-react-app#2574 |
This is one of the many PR's aimed at upgrading dependencies in the backpack monorepo. I focus on updating webpack based dependencies. Here are the list of changelogs:
Also added
--open
flag to automatically open web browser for docs dev.