Skip to content

theasta/webpack-configuration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A configuration helper for Webpack

Example

var baseConfig = {
  module: {
    loaders: [
      { test: /\.(png|jpg)$/, loader: "url?limit=1000"},
      { test: /\.html$/, loader: "html"}
    ]
  },
};
var configurationCreator = require('webpack-configuration');
module.exports = configurationCreator(baseConfig, {
  commonsChunk: true,
  extractCSS: true,
  path: 'dist/',
  publicPath: "http://static.example.com/assets",
  featureFlags: {
    DEBUG: false
  }
});

About

A configuration generator for Webpack

Resources

Stars

Watchers

Forks

Packages

No packages published