poi-preset-magicdawn
poi preset for self use
Install
$ npm i poi-preset-magicdawn -S
API
poi.config.js
moduleexports = presets:
functions
- inline-source-map support, via
--debug
cli flag - image loader config
- customed filename output, for self use
options
image
config the image loaderimage.sizeLimit
:string | number
, the image size limt, default"10kb"
image.output
:string
, the output of the filenae, defaultimg/[name].[hash:8].[ext]
cli config
--debug
: if debug, setwebpack.devtool = 'inline-source-map'
, only work indevelopment
mode
Changelog
License
the MIT License http://magicdawn.mit-license.org