Enable browser module resolution when building app extensions (#7624)

Fixes #7620
This commit is contained in:
Nicola Krumschmidt
2021-08-26 16:56:32 +02:00
committed by GitHub
parent e7af9f5b5d
commit 0230174b84

View File

@@ -83,7 +83,7 @@ function getRollupOptions(isApp: boolean, input: string, plugins: Plugin[] = [])
vue({ preprocessStyles: true }),
styles(),
...plugins,
nodeResolve(),
nodeResolve({ browser: true }),
commonjs({ esmExternals: true, sourceMap: false }),
terser(),
],