grenierdev / svelte-windicss-preprocess-exp

2 stars 0 forks source link

Sourcemap #6

Open grenierdev opened 3 years ago

grenierdev commented 3 years ago

Generating sourcema?

grenierdev commented 3 years ago

https://github.com/rich-harris/magic-string seems like the right tool for all the string transformation I'm doing

grenierdev commented 3 years ago

Ended up with https://github.com/mozilla/source-map/.

Still, Snowpack doesn't seems to combine my sourcemap with typescript's. I still see a bunch of class={`windi-u7qal3`} in the DevTool.

grenierdev commented 3 years ago

https://github.com/pchynoweth/svelte-sequential-preprocessor does not combine sourcemap.