Skip to content

Commit

Permalink
treat as script for 3rd-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 32cf300 commit 59bf368
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 59bf368

Please sign in to comment.