Skip to content

Commit 3c4ed9a

Browse files
committedOct 31, 2023
fix: Exclude openedx scoped packages.
We are moving packages to the `openedx` scope but those packages will also not be transpiled and we'll need to handle them in the same way. Marking this as a fix because we want to release a new version with this exclusion before we start moving more packages to the new scope.
1 parent 9c7ba96 commit 3c4ed9a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
 

‎config/webpack.dev-stage.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ module.exports = merge(commonConfig, {
4747
// Babel is configured with the .babelrc file at the root of the project.
4848
{
4949
test: /\.(js|jsx)$/,
50-
exclude: /node_modules\/(?!@edx)/,
50+
exclude: /node_modules\/(?!@(open)?edx)/,
5151
use: {
5252
loader: 'babel-loader',
5353
options: {

‎config/webpack.dev.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ module.exports = merge(commonConfig, {
4848
// Babel is configured with the .babelrc file at the root of the project.
4949
{
5050
test: /\.(js|jsx|ts|tsx)$/,
51-
exclude: /node_modules\/(?!@edx)/,
51+
exclude: /node_modules\/(?!@(open)?edx)/,
5252
use: {
5353
loader: 'babel-loader',
5454
options: {

‎config/webpack.prod.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ module.exports = merge(commonConfig, {
7171
// Babel is configured with the .babelrc file at the root of the project.
7272
{
7373
test: /\.(js|jsx)$/,
74-
exclude: /node_modules\/(?!@edx)/,
74+
exclude: /node_modules\/(?!@(open)?edx)/,
7575
use: {
7676
loader: 'babel-loader',
7777
options: {

0 commit comments

Comments
 (0)
Please sign in to comment.