Answers for "npm html-webpack-plugin"

0

html-webpack-plugin npm

  npm i --save-dev html-webpack-plugin
Posted by: Guest on April-07-2020
2

htmlwebpackplugin

//installation
npm install --save-dev html-webpack-plugin

//configuration
var HtmlWebpackPlugin = require('html-webpack-plugin');
var path = require('path');

module.exports = {
  entry: 'index.js',
  output: {
    path: path.resolve(__dirname, './dist'),
    filename: 'index_bundle.js'
  },
  plugins: [new HtmlWebpackPlugin({
      template: "./index.html",
    })]
};
Posted by: Guest on October-11-2020
0

npm webpack plugin

npm i npm-install-webpack-plugin
Posted by: Guest on May-12-2020

Browse Popular Code Answers by Language