mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-31 00:10:33 +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',
|
||
|
}
|
||
|
}
|
||
|
};
|