https://github.com/helje5/webpackminis
A super simple mini version of WebPack written in Swift
https://github.com/helje5/webpackminis
swift webpack
Last synced: over 1 year ago
JSON representation
A super simple mini version of WebPack written in Swift
- Host: GitHub
- URL: https://github.com/helje5/webpackminis
- Owner: helje5
- License: other
- Created: 2017-06-15T13:27:06.000Z (about 9 years ago)
- Default Branch: develop
- Last Pushed: 2021-01-28T17:54:42.000Z (over 5 years ago)
- Last Synced: 2025-02-28T18:42:41.549Z (over 1 year ago)
- Topics: swift, webpack
- Language: Swift
- Size: 69.3 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## WebPackMiniS






This is a tiny version of the
[webpack](https://webpack.js.org/)
JavaScript bundler, but written in Swift.
The sole purpose is to get some basic packing and JavaScript
module management functionality for server side Swift
applications.
Without having to download the whole NPM/webpack infrastructure
(you know, `du -sh node_modules` => `82M` ...)
**Note**: This is only intended for very simple development setups!
Using the real
[webpack](https://webpack.js.org/)
is still recommended for generating deployment bundles.
And actually even for serious JS frontend development. The real
[webpack](https://webpack.js.org/)
provides hot-reloads and such, which are super convenient
(but require the webpack dev server to run alongside your
server side Swift application).
### Supported Features
[webpack](https://webpack.js.org/) has literally tons of features and this
supports very little of them :-)
What this does support:
- transpile of some ES6 `import` and `export` statements
- a hackish Vue loader, doesn't compile like the real loader and lacks
tons of other features
- import of CSS into inline JS
### Status
This is a very hackish setup, but seems to work well enough
for our purposes so far :-)
### Who
**WebPackMiniS** is brought to you by
[ZeeZide](http://zeezide.de).
We like feedback, GitHub stars, cool contract work,
presumably any form of praise you can think of.
Join us in the [Noze.io Slack](http://slack.noze.io).