SavKS / webpack-html-builder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

webpack-html-builder

Check Publish to NPM npm version

Installation

yarn add --dev webpack-html-builder
# or
npm install --save-dev webpack-html-builder

Usage

Add this to your webpack config:

import WebpackHtmlBuilder from 'webpack-html-builder';

  // ...

  plugins: [
    new WebpackHtmlBuilder({
      publicPath: 'layouts',
      context: 'layouts',
    }),
  ],

  // ...

About

License:MIT License


Languages

Language:TypeScript 96.9%Language:JavaScript 3.1%