Skip to content

Commit

Permalink
treat as script for 4rd-party library
Browse files Browse the repository at this point in the history
  • Loading branch information
jumperchen authored and JamsonChan committed Aug 25, 2023
1 parent 236e2c0 commit 054d7e4
Show file tree
Hide file tree
Showing 3 changed files with 442 additions and 185 deletions.
7 changes: 4 additions & 3 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ module.exports = function (api) {
'@babel/plugin-proposal-class-properties',
'@babel/plugin-proposal-object-rest-spread',
],
ignore: [
/[\\/]ext[\\/]//* ignore 3rd-party library */
]
overrides: [{
test: /[\\/]ext[\\/]//* treat as script for 3rd-party library */,
sourceType: 'script'
}]
};
};
Loading

0 comments on commit 054d7e4

Please sign in to comment.