Skip to content

Commit

Permalink
Update packages/vite-plugin-svelte/src/utils/compile.js
Browse files Browse the repository at this point in the history
Co-authored-by: Dominik G. <[email protected]>
  • Loading branch information
dummdidumm and dominikg authored Nov 22, 2023
1 parent eee48a7 commit a3d6090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite-plugin-svelte/src/utils/compile.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { createInjectScopeEverythingRulePreprocessorGroup } from './preprocess.j
import { mapToRelative } from './sourcemaps.js';

const scriptLangRE =
/<script (?:[^>]*|(?:[^=>'"/]+=(?:"[^"]*"|'[^']*'|[^>\s])\s+)*)lang=["']?([^"' >]+)["']?[^>]*>/;
/<script (?:[^>]*|(?:[^=>'"/]+=(?:"[^"]*"|'[^']*'|[^>\s]+)\s+)*)lang=["']?([^"' >]+)["']?[^>]*>/;

import { isSvelte3 } from './svelte-version.js';

Expand Down

0 comments on commit a3d6090

Please sign in to comment.