()
| 61 | }); |
| 62 | |
| 63 | const stripSvelteNonRootStyle = () => () => ({ |
| 64 | code: { |
| 65 | // Remove generated inline styles for svelte - they break the build |
| 66 | // This matches what we generate: |
| 67 | post: (code) => code.replace(/<style>\s*{@html[\s\S]+?<\/style>/g, ''), |
| 68 | }, |
| 69 | }); |
| 70 | |
| 71 | const baseOptions = { |
| 72 | plugins: [ |