This commit is contained in:
2025-10-10 09:39:58 +02:00
parent 4a428b9af6
commit ddce0e39b3
36 changed files with 6410 additions and 1419 deletions
+11 -1
View File
@@ -9,7 +9,7 @@ const API_BASE_URL =
env.API_BASE_URL || process.env.API_BASE_URL || 'http://127.0.0.1:3000';
module.exports = {
entry: './src/index.js',
entry: './src/index.jsx',
output: {
filename: 'bundle.[contenthash].js',
path: path.resolve(__dirname, 'dist'),
@@ -17,6 +17,13 @@ module.exports = {
},
module: {
rules: [
{
test: /\.jsx?$/,
exclude: /node_modules/,
use: {
loader: 'babel-loader',
},
},
{
test: /\.css$/i,
use: ['style-loader', 'css-loader'],
@@ -49,4 +56,7 @@ module.exports = {
],
},
devtool: 'source-map',
resolve: {
extensions: ['.js', '.jsx'],
},
};