node package manager
Stop writing boring code. Discover, share, and reuse within your team. Create a free org »

webpack-kit-nimedev

webpack-kit-nimedev

npm

Base configuration blocks to use in webpack config.

Installation

# Install webpack-kit-nimedev 
$ npm i webpack-kit-nimedev -D

Use

const path = require('path')
 
const webpackKit = require('webpack-kit-nimedev')
const merge = require('webpack-merge')
 
// Webpack config object
module.exports = merge({
  // Loaders
  webpackKit.loadPostCSS({
    include: path.join(__dirname, 'src/app')
  }),
 
  // Plugins
  webpackKit.circularDependency()
 
  // Config webpack dev server
  webpackKit.devServer({
    port: 3010
  })
})

Available blocks

Contributing

Changelog

License