mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Enable browser module resolution when building app extensions (#7624)
Fixes #7620
This commit is contained in:
committed by
GitHub
parent
e7af9f5b5d
commit
0230174b84
@@ -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(),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user