Skip to content

Commit

Permalink
fix: transpile edx packages (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Butterworth committed Nov 19, 2019
1 parent 15d0251 commit 1365cc6
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 56 deletions.
2 changes: 1 addition & 1 deletion config/webpack.dev-stage.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module.exports = Merge.smart(commonConfig, {
// Babel is configured with the .babelrc file at the root of the project.
{
test: /\.(js|jsx)$/,
exclude: /node_modules/,
exclude: /node_modules\/(?!@edx)/,
use: {
loader: 'babel-loader',
options: {
Expand Down
2 changes: 1 addition & 1 deletion config/webpack.dev.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module.exports = Merge.smart(commonConfig, {
// Babel is configured with the .babelrc file at the root of the project.
{
test: /\.(js|jsx)$/,
exclude: /node_modules/,
exclude: /node_modules\/(?!@edx)/,
use: {
loader: 'babel-loader',
options: {
Expand Down
2 changes: 1 addition & 1 deletion config/webpack.prod.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module.exports = Merge.smart(commonConfig, {
// Babel is configured with the .babelrc file at the root of the project.
{
test: /\.(js|jsx)$/,
exclude: /node_modules/,
exclude: /node_modules\/(?!@edx)/,
use: {
loader: 'babel-loader',
options: {
Expand Down
79 changes: 26 additions & 53 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1365cc6

Please sign in to comment.