New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@codeurs/packer

Package Overview
Dependencies
Maintainers
4
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codeurs/packer

Our webpack config

Source
npmnpm
Version
1.2.0
Version published
Weekly downloads
0
Maintainers
4
Weekly downloads
 
Created
Source
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/...

FAQs

Package last updated on 11 Jan 2021

Related posts