fix: ensure plugin-node-resolve uses browser mode

This commit is contained in:
Derrick Hammer 2023-07-02 03:17:39 -04:00
parent 362b497883
commit 3b6fec053f
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 4 additions and 0 deletions

View File

@ -25,6 +25,10 @@ export default async function (context: PresetContext): Promise<PresetAsset> {
"0": { "0": {
inlineDynamicImports: true, inlineDynamicImports: true,
}, },
"1": {
browser: true,
preferBuiltins: false,
},
}, },
plugins: [ plugins: [
[ [