@codeurs/packer
v1.3.1
Published
Our webpack config
Downloads
67
Keywords
Readme
packer(entry, bundle)
Returns a preconfigured webpack config with babel, less, image, fonts and font icon loaders
// Use as your webpack.config.js file
const packer = require('@codeurs/packer')
module.exports = packer('src/index.js', 'dist/bundle.js')
// Outputs dist/bundle.js and dist/bundle.css
// Fonts go to dist/fonts/...
// Images to dist/assets/...