mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
enable experimentalDecorators for esbuild
This commit is contained in:
7 files changed
+9
-5
No files matched your search
@@ -47,6 +47,7 @@ const federationPlugin: esbuild.Plugin = {
|
||||
|
||||
const build = async (contents: string) => {
|
||||
const res = await esbuild.build({
|
||||
tsconfigRaw: '{"compilerOptions":{"experimentalDecorators":true}}',
|
||||
format: 'iife' as 'iife',
|
||||
bundle: true,
|
||||
outdir: tmp,
|
||||
|
||||
Reference in new issue
Block a user