Initial commit

This commit is contained in:
Grae Jones
2026-02-03 15:45:39 -08:00
commit 3647b304a3
74 changed files with 27121 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');
module.exports = {
entry: './src/index.js',
output: { path: path.resolve(__dirname, 'public'), filename: 'bundle.js', publicPath: '/' },
module: {
rules: [
{ test: /\.(js|jsx)$/, exclude: /node_modules/, use: 'babel-loader' },
{ test: /\.css$/, use: ['style-loader', 'css-loader'] }
]
},
resolve: { extensions: ['.js', '.jsx'] },
plugins: [new HtmlWebpackPlugin({ template: './public/index.html' })],
devServer: { historyApiFallback: true, port: 3001, hot: true }
};