Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
dominictobias opened this issue Sep 5, 2020 · 0 comments
Open

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

dominictobias opened this issue Sep 5, 2020 · 0 comments

Comments

@dominictobias
Copy link

dominictobias commented Sep 5, 2020

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 🙏

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant