12345678910111213 |
- const path = require('path');
- const HtmlWebpackPlugin = require('html-webpack-plugin');
- module.exports = {
- entry:'./src/index.js',
- plugins:[
- new HtmlWebpackPlugin({
- template:'./src/index.html',
- filename:'demo.html'
- })
- ],
- mode:'development'
- }
|