@swiftcarrot/webpacker
v3.0.1
Published
rails webpacker in node
Downloads
8
Readme
webpacker
Install
npm install @swiftcarrot/webpacker --save-dev
yarn add @swiftcarrot/webpacker --dev
Usage
webpacker dev-server -l http://localhost:5000
webpacker watch
webpacker build
webpacker analyze
Features
- multiple entries support (
packs/*.js
,packs/*.html
) - zero config
.js
with babel-preset-swiftcarrot.css
.module.css
css module.(scss|sass)
with sass-loader.module.(scss|sass)
css module with sass.yaml
with @swiftcarrot/yaml-loader.toml
with toml-laoder.(jpg|jpeg|png|gif|svg|eot|ttf|woff|woff2)
with file-loadericons/*.svg
with @svgr/webpack
- custom webpack config through
webpacker.config.js
License
MIT