https://github.com/swiftcarrot/webpacker
Easy webpack
https://github.com/swiftcarrot/webpacker
nodejs webpack
Last synced: 2 months ago
JSON representation
Easy webpack
- Host: GitHub
- URL: https://github.com/swiftcarrot/webpacker
- Owner: swiftcarrot
- License: mit
- Created: 2017-09-13T07:30:45.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-09-25T03:19:47.000Z (almost 5 years ago)
- Last Synced: 2025-04-10T11:49:26.652Z (3 months ago)
- Topics: nodejs, webpack
- Language: JavaScript
- Homepage: https://swiftcarrot.dev/webpacker
- Size: 1.47 MB
- Stars: 6
- Watchers: 3
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# webpacker
[](https://www.npmjs.com/package/@swiftcarrot/webpacker)
[](https://www.npmjs.com/package/@swiftcarrot/webpacker)
[](https://travis-ci.org/swiftcarrot/webpacker)
[](https://codecov.io/gh/swiftcarrot/webpacker)
[](https://github.com/prettier/prettier)### Install
```sh
npm install @swiftcarrot/webpacker --save-dev
yarn add @swiftcarrot/webpacker --dev
```### Usage
```sh
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](https://github.com/swiftcarrot/babel-preset-swiftcarrot)
- `.css`
- `.module.css` css module
- `.(scss|sass)` with [sass-loader](https://github.com/webpack-contrib/sass-loader)
- `.module.(scss|sass)` css module with sass
- `.yaml` with [@swiftcarrot/yaml-loader](https://github.com/swiftcarrot/yaml-loader)
- `.toml` with [toml-laoder](https://github.com/KyleAMathews/toml-loader)
- `.(jpg|jpeg|png|gif|svg|eot|ttf|woff|woff2)` with [file-loader](https://github.com/webpack-contrib/file-loader)
- `icons/*.svg` with [@svgr/webpack](https://www.npmjs.com/package/@svgr/webpack)
- custom webpack config through `webpacker.config.js`### License
MIT