We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd55f28 commit ef3c643Copy full SHA for ef3c643
1 file changed
packages/repl/src/lib/workers/bundler/index.ts
@@ -376,7 +376,9 @@ async function get_bundle(
376
}
377
);
378
// add the CSS via injecting a style tag
379
- const style_id = result.css.code.match(/\.svelte-([a-z0-9]+)/)?.[0]?.slice(1) ?? ('svelte-' + name.replace(/[^a-zA-Z0-9]/g, '_'));
+ const style_id =
380
+ result.css.code.match(/\.svelte-([a-z0-9]+)/)?.[0]?.slice(1) ??
381
+ 'svelte-' + name.replace(/[^a-zA-Z0-9]/g, '_');
382
result.js.code +=
383
'\n\n' +
384
`
0 commit comments