module management functionality for server side Swift
Without having to download the whole NPM/webpack infrastructure
du -sh node_modules =>
Note: This is only intended for very simple development setups! Using the real webpack is still recommended for generating deployment bundles. And actually even for serious JS frontend development. The real webpack provides hot-reloads and such, which are super convenient (but require the webpack dev server to run alongside your server side Swift application).
webpack has literally tons of features and this supports very little of them :-)
What this does support:
- transpile of some ES6
- a hackish Vue loader, doesn't compile like the real loader and lacks tons of other features
- import of CSS into inline JS
This is a very hackish setup, but seems to work well enough for our purposes so far :-)
WebPackMiniS is brought to you by ZeeZide. We like feedback, GitHub stars, cool contract work, presumably any form of praise you can think of.
Join us in the Noze.io Slack.