Skip to content

Commit 1365cc6

Browse files
author
Adam Butterworth
authored
fix: transpile edx packages (#20)
1 parent 15d0251 commit 1365cc6

File tree

4 files changed

+29
-56
lines changed

4 files changed

+29
-56
lines changed

config/webpack.dev-stage.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ module.exports = Merge.smart(commonConfig, {
3434
// Babel is configured with the .babelrc file at the root of the project.
3535
{
3636
test: /\.(js|jsx)$/,
37-
exclude: /node_modules/,
37+
exclude: /node_modules\/(?!@edx)/,
3838
use: {
3939
loader: 'babel-loader',
4040
options: {

config/webpack.dev.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ module.exports = Merge.smart(commonConfig, {
3434
// Babel is configured with the .babelrc file at the root of the project.
3535
{
3636
test: /\.(js|jsx)$/,
37-
exclude: /node_modules/,
37+
exclude: /node_modules\/(?!@edx)/,
3838
use: {
3939
loader: 'babel-loader',
4040
options: {

config/webpack.prod.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ module.exports = Merge.smart(commonConfig, {
3232
// Babel is configured with the .babelrc file at the root of the project.
3333
{
3434
test: /\.(js|jsx)$/,
35-
exclude: /node_modules/,
35+
exclude: /node_modules\/(?!@edx)/,
3636
use: {
3737
loader: 'babel-loader',
3838
options: {

package-lock.json

Lines changed: 26 additions & 53 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)