/
githubmirror
/
commcare-hq
Обзор
Документация
Войти
/
githubmirror
/
commcare-hq
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
webpack/webpack.dev.js
34 строки
1 KB
Jenny Schweers
Switched webpack source map style from inline-source-map to eval-cheap-module-source-map
15 янв 2025, 06:23
15 янв 2025, 06:23
62a0669
Код
Авторство
О чём код?
/* eslint-env node */ const { merge } = require('webpack-merge'); const common = require('./webpack.common'); const b3Common = require('./webpack.b3.common'); const utils = require("./utils"); // after the Bootstrap 5 migration is complete, // we can remove the list and just export one merged config module.exports = [ // this is the default webpack development config merge( common, { mode: 'development', devtool: 'eval-cheap-module-source-map', output: { filename: '[name].js', path: utils.WEBPACK_PATH, clean: true, }, }), // this is the Bootstrap 3 development config, which // builds to the webpack_b3 directory and outputs // the manifest to manifest_b3.json merge( b3Common, { mode: 'development', devtool: 'eval-cheap-module-source-map', output: { filename: '[name].js', path: utils.WEBPACK_B3_PATH, clean: true, }, }), ];