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

[BPK-971] Upgrade webpack deps #224

Merged
merged 1 commit into from
Oct 25, 2017
Merged

Conversation

Added `--open` flag to automatically open web browser for docs dev.
@backpackbot
Copy link

backpackbot commented Oct 25, 2017

Warnings
⚠️

One or more packages have changed, but changelog.md wasn't updated.

Messages
📖

Thanks for the PR 🎉.

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",
Copy link
Contributor

Choose a reason for hiding this comment

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

Awesome!! 🎉

@matthewdavidson
Copy link
Contributor Author

I've tested storybook dev (npm start), docs dev (npm run docs) and docs prod output (npm run docs:dist && http-server dist).

Copy link
Contributor

@k0nserv k0nserv left a 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

Copy link
Contributor

@matteo-hertel matteo-hertel left a 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);
Copy link
Contributor

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@matthewdavidson
Copy link
Contributor Author

@k0nserv me too - for comparison, here is CRA's webpack 3 upgrade PR facebook/create-react-app#2574

@matthewdavidson matthewdavidson merged commit d6fb16d into master Oct 25, 2017
@matthewdavidson matthewdavidson deleted the bpk-971-webpack-deps branch October 25, 2017 10:54
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.

None yet

5 participants