Skip to content

Commit 990e167

Browse files
authored
fix: custom template test (#3690)
1 parent de84da9 commit 990e167

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tests/integration/custom-template/modern.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ export default defineConfig({
88
disableFilenameHash: true,
99
disableInlineRuntimeChunk: true,
1010
},
11+
performance: { chunkSplit: { strategy: 'all-in-one' } },
1112
plugins: [appTools()],
1213
});
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`custom template should allow to custom template by html.template option 1`] = `"<!doctype html><html><head><title>Hello World</title><script defer="defer" src="/static/js/builder-runtime.js"></script><script defer="defer" src="/static/js/lib-polyfill.js"></script><script defer="defer" src="/static/js/lib-react.js"></script><script defer="defer" src="/static/js/main.js"></script></head><body><div id="root"></div></body></html>"`;
3+
exports[`custom template should allow to custom template by html.template option 1`] = `"<!doctype html><html><head><title>Hello World</title><script defer="defer" src="/static/js/main.js"></script></head><body><div id="root"></div></body></html>"`;

0 commit comments

Comments
 (0)