mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-11-10 03:11:55 +01:00
21 lines
494 B
JavaScript
21 lines
494 B
JavaScript
|
const webpackProdConfig = require('./webpack.production.config');
|
||
|
const artifacts = require("../test/artifacts");
|
||
|
|
||
|
const OUTPATH = artifacts.pathSync("/profiling");
|
||
|
|
||
|
module.exports = {
|
||
|
...webpackProdConfig,
|
||
|
output: {
|
||
|
...webpackProdConfig.output,
|
||
|
path: OUTPATH,
|
||
|
},
|
||
|
resolve: {
|
||
|
...webpackProdConfig.resolve,
|
||
|
alias: {
|
||
|
...webpackProdConfig.resolve.alias,
|
||
|
'react-dom$': 'react-dom/profiling',
|
||
|
'scheduler/tracing': 'scheduler/tracing-profiling',
|
||
|
}
|
||
|
}
|
||
|
};
|