Skip to content

Latest commit

 

History

History
executable file
·
14 lines (12 loc) · 411 Bytes

File metadata and controls

executable file
·
14 lines (12 loc) · 411 Bytes
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/...