mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-27 23:35:23 +01:00
20 lines
494 B
JavaScript
20 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',
|
|
}
|
|
}
|
|
};
|