initial support for exporting builds#52
Conversation
|
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/warengonzaga/css-text-portrait-builder/2m2JDmfjbKKjzaqMSu29ysXQJYXw |
warengonzaga
left a comment
There was a problem hiding this comment.
All good to me! I like what you did to export the builds by creating a post-build script. 😊
Meaning if you want to use parcel (zero-config) you still need to config it when you want to export a serverless version of your builds. 😅
The question, any instructions on how to export your builds? So I can add it to the official documentation. 🤔
* Add `jsdom` * Add postbuild script * Add npm scripts
Thanks! 😊 and yeah I really couldn't find anything anywhere that allows Parcel to bundle it for non-production settings, which I guess is understandable since it primarily deals with live apps and is created with that in mind.
Oh right almost forgot about this, thanks again for reminding! Docs:
Something like that I guess? |
That's it! We can improve it later... 😊 @decanTyme |
|
@decanTyme I'm happy to merge this now... |
PR Includes:
jsdomSummary:
Adds initial support for exporting and compressing builds (#10). The exported files/zip should not require any server to run, which can then be easily shared.
Sidenote: removed
runkeyword from scripts since it is perfectly fine omitting it and it shortens some otherwise lengthy scripts.Sample compressed export: export.zip
Instructions/docs: