fix: build

This commit is contained in:
手瓜一十雪
2024-11-16 11:37:47 +08:00
parent 046afc0c23
commit e34b60315c

@@ -63,7 +63,6 @@ const ShellBaseConfig = () =>
'./lib-cov/fluent-ffmpeg': './lib/fluent-ffmpeg',
},
},
},
build: {
sourcemap: false,
target: 'esnext',
@@ -75,7 +74,8 @@ const ShellBaseConfig = () =>
},
formats: ['es'],
fileName: (_, entryName) => `${entryName}.mjs`,
},
}
}
});
const FrameworkBaseConfig = () =>
@@ -88,7 +88,6 @@ const FrameworkBaseConfig = () =>
'./lib-cov/fluent-ffmpeg': './lib/fluent-ffmpeg',
},
},
},
build: {
sourcemap: false,
target: 'esnext',
@@ -101,6 +100,7 @@ const FrameworkBaseConfig = () =>
formats: ['es'],
fileName: (_, entryName) => `${entryName}.mjs`,
},
}
});
export default defineConfig(({ mode }): UserConfig => {