12345678910111213141516171819202122232425262728 |
- const {resolve} = require('path')
- const htmlWebpackPlugin = require('html-webpack-plugin')
- module.exports = {
- entry: './src/index.js',
- output:{
- filename: 'built.js',
- path: resolve(__dirname,'build')
- },
- module:{
- rules:[
- ]
- },
- plugins:[
-
-
-
- new htmlWebpackPlugin({
-
- template: './src/index.html'
- })
- ],
- mode:'development'
- }
|