README
webpack-config-parts
Parts of Webpack configurations.
Install
$ npm install webpack-config-parts
Usage
const { setupIO } = require('webpack-config-parts')
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 |
Examples
Visit here for a practical example.
Why create this?
I'm tired of writing the same configurations again and again.
I think you should...
Uhh... This package is published for myself, If you don't like it, just fuck off.