Skip to content

graffie/webpack-mill-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webpack mill plugin

This plugin is built for Mill blog.

Installation

$ npm install webpack-mill-plugin

Usage

var MillPlugin = require('webpack-mill-plugin');

module.exports = {
  plugins: [
    new MillPlugin('basic'),
    new webpack.DefinePlugin({
      'process.env': {
        NODE_ENV: JSON.stringify('production'),
      },
      __DEVTOOLS__: false,
    })
  ]
};

Options

name

Define the a name for your theme, this option is required.

prefix

Define the prefex for the modules, default is themes.

LICENSE

LICENSE

Releases

No releases published

Packages

No packages published