mirror of
https://github.com/developit/microbundle.git
synced 2026-01-18 13:56:35 +00:00
Merge pull request #603 from developit/preferbuiltins-fix
This commit is contained in:
commit
55218818dc
@ -537,7 +537,7 @@ function createConfig(options, entry, format, writeMeta) {
|
||||
browser: options.target !== 'node',
|
||||
// defaults + .jsx
|
||||
extensions: ['.mjs', '.js', '.jsx', '.json', '.node'],
|
||||
preferBuiltins: options.target === 'node' ? true : undefined,
|
||||
preferBuiltins: options.target === 'node',
|
||||
}),
|
||||
commonjs({
|
||||
// use a regex to make sure to include eventual hoisted packages
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user