cartodb-4.42/webpack/v4/webpack.dev.config.js

18 lines
444 B
JavaScript
Raw Normal View History

2024-04-06 13:25:13 +08:00
const webpack = require('webpack');
const merge = require('webpack-merge');
const configBase = require('./webpack.base.config.js');
module.exports = merge(configBase, {
mode: 'development',
plugins: [
new webpack.DefinePlugin({
__IN_DEV__: JSON.stringify(true),
__ENV__: JSON.stringify('dev'),
__KEPLERGL_BASE_URL__: JSON.stringify('http://localhost:8081')
})
],
optimization: {
usedExports: true
}
});