-
Notifications
You must be signed in to change notification settings - Fork 4k
Build scratch-* dependencies with babel-loader #2012
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
Build scratch-* dependencies with babel-loader #2012
Conversation
webpack.config.js
Outdated
| test: /\.jsx?$/, | ||
| loader: 'babel-loader', | ||
| include: path.resolve(__dirname, 'src') | ||
| include: [path.resolve(__dirname, 'src'), /node_modules[\\\/]scratch-[^\\\/]+[\\\/]src/], |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
bc04354 to
7b98080
Compare
rschamp
left a comment
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 believe with the resolve.symlinks: false change I made these are all good to go! I will do that tomorrow.
|
We ran into an issue with using this setup with npm > 4. When packages are linked (as they are frequently when working on 3.0), running |
Configure loaders so they operate on individual modules in scratch-* dependencies.
e71ca4a to
1848faa
Compare
1848faa to
3470969
Compare
This reverts commit 09d236e.
Proposed Changes
Reason for Changes
Sibling of scratchfoundation/scratch-vm#1106