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

[npm] use elastic webpack fork #9540

Merged
merged 1 commit into from
Dec 19, 2016

Conversation

spalger
Copy link
Contributor

@spalger spalger commented Dec 16, 2016

Correct the package reference to our fork of webpack (see #9497) which was moved to the elastic github org

@spalger spalger added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v5.2.0 v6.0.0 labels Dec 16, 2016
@spalger spalger self-assigned this Dec 16, 2016
Copy link
Contributor

@kobelb kobelb left a comment

Choose a reason for hiding this comment

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

LGTM

@spalger spalger merged commit 1982062 into elastic:master Dec 19, 2016
w33ble pushed a commit that referenced this pull request Dec 22, 2016
… (#9540)

* [npm] use elastic webpack fork

* [webpack] upgrade to @elastic/webpack-directory-name-as-main v2

* bump @elastic/webpack-directory-name-as-main

* import browser mocha with webpackShim

`import 'mocha'` will resolve to `mocha/index.js`, which points to
`mocha/lib/mocha.js`, the node version of mocha. This will not work in
the browser.

Since ng_mock is browser code, we need the mocha build for the browser,
which lives at `mocha/mocha.js`. This isn't referenced at all in the
package.json file, but is references in the bower.json file. Webpack,
however, doesn't observe the bower config, so we need to specifically
reach into the mocha package and point to the `mocha/mocha.js` file.
@w33ble
Copy link
Contributor

w33ble commented Dec 22, 2016

5.x: 9a598fa

@spalger spalger deleted the fix/use-elastic-webpack-fork branch October 18, 2019 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v5.2.0 v6.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants