mirror of
https://github.com/maputnik/editor.git
synced 2026-08-24 14:07:33 +00:00
Fix build
This commit is contained in:
@@ -13,7 +13,7 @@ module.exports = {
|
|||||||
app: './src/index.jsx',
|
app: './src/index.jsx',
|
||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
path: "./build/build/",
|
path: path.join(__dirname, '..', 'build' , 'build'),
|
||||||
filename: '[name].[contenthash].js',
|
filename: '[name].[contenthash].js',
|
||||||
chunkFilename: '[contenthash].js'
|
chunkFilename: '[contenthash].js'
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,10 +1,11 @@
|
|||||||
const webpackProdConfig = require('./webpack.production.config');
|
const webpackProdConfig = require('./webpack.production.config');
|
||||||
|
var path = require('path');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
...webpackProdConfig,
|
...webpackProdConfig,
|
||||||
output: {
|
output: {
|
||||||
...webpackProdConfig.output,
|
...webpackProdConfig.output,
|
||||||
path: "./build/profiling/",
|
path: path.join(__dirname, '..', 'build' , 'profiling'),
|
||||||
},
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
...webpackProdConfig.resolve,
|
...webpackProdConfig.resolve,
|
||||||
|
|||||||
Reference in New Issue
Block a user