Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

No runtime script? #1262

Closed
onionhammer opened this issue Sep 13, 2018 · 1 comment
Closed

No runtime script? #1262

onionhammer opened this issue Sep 13, 2018 · 1 comment

Comments

@onionhammer
Copy link

Is it possible to generate output HTML without the 230kb of JavaScript that phenomic packs in? I'd rather just use phenomic for the layout and build system but make custom vanilla js for my runtime scripting needs

@MoOx
Copy link
Owner

MoOx commented Sep 14, 2018

One easy way is just to drop an Html.js file and remove the <Script />. Eg here https://github.com/phenomic/phenomic/blob/a9a23f66260e55df30de46b75b319e9f4f5b57b7/examples/react-app-blog/Html.js#L28
Js files will be produced but not actually used except for building the html version.
I might add an easy option for that like it was for phenomic 0.x

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants