tedw
1
When using splitChunks()
and runtime()
it seems runtime.js
isn’t being inlined automatically in my template. It appears this is the default behavior (see bud/extension.ts at b00e713905b351dcb4b4dcf827540dc81a919600 · roots/bud · GitHub) but I’m unclear how to change it. Any help would be much appreciated!
Related links:
ben
2
Howdy! Do the notes from this PR help?
1 Like
tedw
3
@ben That’s exactly what I was looking for, thanks!
For future reference, here’s the code:
bud.extensions.get('@roots/bud-entrypoints').setOption('emitHtml', true)
1 Like