Skip to content

Commit

Permalink
add ignore 3rd-party library for js and ts to see if this passes all …
Browse files Browse the repository at this point in the history
…test case.
  • Loading branch information
jumperchen committed Aug 16, 2023
1 parent 75ad10a commit 55908b5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ module.exports = function (api) {
["@babel/plugin-proposal-decorators", { "legacy": true }],
'@babel/plugin-proposal-class-properties',
'@babel/plugin-proposal-object-rest-spread',
]
],
ignore: [
/[\\/]ext[\\/]//* ignore 3rd-party library */
]
};
};
3 changes: 2 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ module.exports = {
rules: [
{
test: /\.(ts|js)x?$/,
exclude: [/node_modules/],
exclude: [/node_modules/,
/[\\/]ext[\\/]//* ignore 3rd-party library */],
use: [
{
loader: 'babel-loader'
Expand Down

0 comments on commit 55908b5

Please sign in to comment.