Loading dist/index.html 0 → 100644 +9 −0 Original line number Diff line number Diff line <!doctype html> <html> <head> <title>Getting Started</title> </head> <body> <script src="main.js"></script> </body> </html> No newline at end of file webpack.config.js 0 → 100644 +9 −0 Original line number Diff line number Diff line const path = require('path'); module.exports = { entry: './src/index.js', output: { filename: 'main.js', path: path.resolve(__dirname, 'dist') } }; Loading
dist/index.html 0 → 100644 +9 −0 Original line number Diff line number Diff line <!doctype html> <html> <head> <title>Getting Started</title> </head> <body> <script src="main.js"></script> </body> </html> No newline at end of file
webpack.config.js 0 → 100644 +9 −0 Original line number Diff line number Diff line const path = require('path'); module.exports = { entry: './src/index.js', output: { filename: 'main.js', path: path.resolve(__dirname, 'dist') } };