mirror of https://github.com/sveltejs/svelte
parent
f287bbe80d
commit
69b70e6421
@ -1,5 +1,6 @@
|
|||||||
export const whitespace = /[ \t\r\n]/;
|
export const whitespace = /[ \t\r\n]/;
|
||||||
export const start_whitespace = /^[ \t\r\n]*/;
|
export const start_whitespace = /^[ \t\r\n]*/;
|
||||||
export const end_whitespace = /[ \t\r\n]*$/;
|
export const end_whitespace = /[ \t\r\n]*$/;
|
||||||
|
export const start_newline = /^\r?\n/;
|
||||||
|
|
||||||
export const dimensions = /^(?:offset|client)(?:Width|Height)$/;
|
export const dimensions = /^(?:offset|client)(?:Width|Height)$/;
|
||||||
|
|||||||
@ -0,0 +1,2 @@
|
|||||||
|
[main.svelte]
|
||||||
|
trim_trailing_whitespace = unset
|
||||||
@ -0,0 +1,2 @@
|
|||||||
|
[{main.svelte,_expected.html}]
|
||||||
|
trim_trailing_whitespace = unset
|
||||||
Loading…
Reference in new issue