webpack-config-presets
v1.1.1
Published
Presets of Webpack configurations.
Downloads
6
Readme
webpack-config-presets
Presets of Webpack configurations.
Install
$ npm install webpack-config-presets
Usage
const { setupIO } = require('webpack-config-presets')
Build Options
Environment Variables
| Name | Description | Default Value | Example Value |
| --------------- | ------------------------------------ | ---------------- | -------------------------- |
| W_PUBLIC_PATH
| Public path for serving static files | <empty string>
| https://cdn.example.com/
|
| W_FILE_FLAT
| Enable flat file structure | <empty string>
| true
|
| W_FILE_HASH
| Enable file hash | <empty string>
| true
|
Why create this?
I'm tired of writing the same configurations again and again.
License
MIT