stencil-site icon indicating copy to clipboard operation
stencil-site copied to clipboard

How to build physical files during dev (and other questions)

Open dominictobias opened this issue 4 years ago • 0 comments

Hi thanks for this great project. Not a bug but a few questions hope you don't mind!

Not minified: I have latest v2 and the prod build does not minify any of the files in cjs, esm and collection - is this normal?

Produce physical files for dev - alternative?: I want to create a doc site which has vue, svelte, react demos etc. To do this I was thinking of having: 1 static doc site 1 demo site for each framework with lazy loaded routes, the static site loads demos in iframes

I wasn't sure how to compile different frameworks in or build a complex doc site using the www provided. However I noticed that running yarn start does not build the necessary files for an external doc site to link to (yarn/npm link), it seems the files are in the dev server memory.

So for an external doc site it seems I would have to do a prod build for each change? Thanks 🙏

dominictobias avatar Sep 05 '20 04:09 dominictobias