Skip to content

Commit ef41d90

Browse files
committed
moved build to viteconfig
1 parent cf54b80 commit ef41d90

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

vite.config.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ const viteConfig = defineViteConfig({
1919
exclude: ["typescript"],
2020
needsInterop: ['@accordproject/template-engine'],
2121
},
22+
build: {
23+
rollupOptions: {
24+
external: ["typescript"],
25+
},
26+
},
2227
});
2328

2429

@@ -29,11 +34,6 @@ const vitestConfig = defineVitestConfig({
2934
environment: "jsdom",
3035
setupFiles: "./src/utils/testing/setup.ts",
3136
},
32-
build: {
33-
rollupOptions: {
34-
external: ["typescript"],
35-
},
36-
},
3737
});
3838

3939
export default mergeConfig(viteConfig, vitestConfig);

0 commit comments

Comments
 (0)