Skip to content
Snippets Groups Projects
webpack.config.js 402 B
Newer Older
const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');
module.exports = {
    widget: './src/widget.js'
  plugins: [
    new HtmlWebpackPlugin({
      title: 'Aug[m]entile',
      filename: 'augmentile-[name].html',
      hash: true
    }),
  ],
    filename: "augmentile-[name].bundle.js",
    path: path.resolve(__dirname, 'dist')