Fix build

This commit is contained in:
HarelM
2023-12-16 20:58:12 +02:00
parent 5c7d6f2b1d
commit 5d8041f55c
2 changed files with 3 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ module.exports = {
app: './src/index.jsx',
},
output: {
path: "./build/build/",
path: path.join(__dirname, '..', 'build' , 'build'),
filename: '[name].[contenthash].js',
chunkFilename: '[contenthash].js'
},

View File

@@ -1,10 +1,11 @@
const webpackProdConfig = require('./webpack.production.config');
var path = require('path');
module.exports = {
...webpackProdConfig,
output: {
...webpackProdConfig.output,
path: "./build/profiling/",
path: path.join(__dirname, '..', 'build' , 'profiling'),
},
resolve: {
...webpackProdConfig.resolve,