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

Add note to Webpack docs about how to handle dynamic imports #2800

Merged
merged 2 commits into from
Feb 3, 2017

Conversation

SimenB
Copy link
Member

@SimenB SimenB commented Feb 3, 2017

Summary

I went the long way around to find this... Having it easily available in the docs would be nice.

Ref #2442

Test plan

N/A

@@ -212,7 +212,7 @@ thus requires ES modules to be transpiled to CommonJS modules. As such, if you
are using webpack 2, you most likely will want to configure Babel to transpile
ES modules to CommonJS modules only in the `test` environment.

```js
```json
Copy link
Member Author

Choose a reason for hiding this comment

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

Unless you assign it to a variable it's not valid JS...

@cpojer cpojer merged commit 91ef29d into jestjs:master Feb 3, 2017
@cpojer
Copy link
Member

cpojer commented Feb 3, 2017

thanks! I guess this is still fairly new and people don't know so much about it yet.

@SimenB SimenB deleted the dynamic-import-docs branch February 3, 2017 18:50
skovhus pushed a commit to skovhus/jest that referenced this pull request Apr 29, 2017
…2800)

* Add note to Webpack docs about how to handle dynamic imports

* Update Webpack.md
tushardhole pushed a commit to tushardhole/jest that referenced this pull request Aug 21, 2017
…2800)

* Add note to Webpack docs about how to handle dynamic imports

* Update Webpack.md
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants