fix: rte build output named csiv.js always
This commit is contained in:
@@ -14,7 +14,7 @@ export default defineConfig({
|
||||
lib: {
|
||||
entry: resolve(__dirname, "main.tsx"),
|
||||
name: "csiv",
|
||||
fileName: () => (process.env.IS_DEV ? "csiv.js" : "csiv-[hash].js"),
|
||||
fileName: () => "csiv.js",
|
||||
// @ts-expect-error: 'system' not valid by typings, but works with Rollup
|
||||
formats: ["system"],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user