Closed odick closed 4 years ago
Need source and/or reproduction
I test with the default sample cli (pwa init) and the result is the same Test with vue preset, no vue files on the source Probably the problem is with the svelte preset Some screenshot: INIT PWA RUN START NOW add disable devtools Webpack source map gone, but the svelte code still in source Please help, thank you
@lukeed I found the solution, just set this to false https://github.com/lukeed/pwa/blob/b3b928a0880f58d9cae6a45c6270dbbc67dfb2a0/packages/preset-svelte/index.js#L43 And all the svelte file from removed from the browser source But as a result, svelte will not generate css in the build
Any clue on how to set emitCss to false in pwa.config.js? Thank you
Webpack devtools is false on production but still see the svelte file from browser source Any help on this @lukeed @olso