feat: production

This commit is contained in:
Mike 2023-12-20 12:25:51 -05:00
parent e46e56578d
commit 551b6206ad
3 changed files with 4 additions and 1213 deletions

View file

@ -2,7 +2,7 @@ const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin'); const HtmlWebpackPlugin = require('html-webpack-plugin');
module.exports = { module.exports = {
mode: 'development', mode: 'production',
entry: { entry: {
index: './src/index.js', index: './src/index.js',
}, },

File diff suppressed because one or more lines are too long

View file

@ -1,9 +1 @@
<!DOCTYPE html> <!doctype html><html><head><meta charset="utf-8"><title>Restaurant - Dev</title><meta name="viewport" content="width=device-width,initial-scale=1"><script defer="defer" src="bundle.js"></script></head><body></body></html>
<html>
<head>
<meta charset="utf-8">
<title>Restaurant - Dev</title>
<meta name="viewport" content="width=device-width, initial-scale=1"><script defer src="bundle.js"></script></head>
<body>
</body>
</html>