-
Notifications
You must be signed in to change notification settings - Fork 461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
micro (dev) and micro-serve #15
Comments
Thanks @nkzawa for the feedback. |
Can be solved by merging https://github.com/zeit/micro-serve/pull/1 and #24. |
If micro (dev) also had the babel toolchain setup and a command to build a project, that'd be even cooler =) |
you mean one that sets up the build as a pre-publish hook ? On 3 May 2016 at 16:01, Leo Lamprecht notifications@github.com wrote:
|
@Floby In the package.json of your project? Why not! |
That'd be the safest place in order to have working published modules imo
|
Update: all the runtime stuff now lives in |
Just opened a new issue for the visualisation part (separating the CLI from the core is finished): #33 |
Right now
micro
has a convenient tool for preventing the setup of an entire Babel toolchain. Namely, you can run:and
index.js
can useexport
,async
,await
and all the other goodies.When going to production, this is unadvisable:
npm install
takes longerFor 3, the solution right now is clear: use
micro index
during development, usemicro --no-babel build/index
in production.For 1 and 2, it'll be great to have
micro
be the convenience tool, andmicro-serve
ormicro-prod
be the tool for serving in production.micro
will additionally incorporate support for visualizing the requests in terms of the data flow, with built in JSON highlighting and prettifying, among other things.Repository: https://github.com/zeithq/micro-serve
The text was updated successfully, but these errors were encountered: