File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ module.exports = {
99 absoluteRuntime : false ,
1010 corejs : false ,
1111 helpers : true ,
12- regenerator : false ,
12+ regenerator : false ,
1313 version : '^7.27.1' ,
1414 } ,
1515 ] ,
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import commonjsPlugin from '@rollup/plugin-commonjs'
66import jsonPlugin from '@rollup/plugin-json'
77import { nodeResolve } from '@rollup/plugin-node-resolve'
88
9- const EXTERNAL_PACKAGES = [ '@socketsecurity/registry' ]
9+ const EXTERNAL_PACKAGES = new Set ( [ '@socketsecurity/registry' ] )
1010
1111function isBuiltin ( id ) {
1212 return (
@@ -65,7 +65,7 @@ export default function baseConfig(extendConfig = {}) {
6565 id . endsWith ( '.d.cts' ) ||
6666 id . endsWith ( '.d.mts' ) ||
6767 id . endsWith ( '.d.ts' ) ||
68- EXTERNAL_PACKAGES . includes ( pkgName ) ||
68+ EXTERNAL_PACKAGES . has ( pkgName ) ||
6969 isBuiltin ( rawId )
7070 )
7171 } ,
You can’t perform that action at this time.
0 commit comments