Webpack web target

(cherry picked from commit a90866a73e6cff9a286c23e60c74672f4c0d317a)
This commit is contained in:
Mark McDowall
2024-11-23 16:48:05 -08:00
committed by Bogdan
parent 41320ca2dc
commit c4a90e8ba4

View File

@@ -25,6 +25,7 @@ module.exports = (env) => {
const config = { const config = {
mode: isProduction ? 'production' : 'development', mode: isProduction ? 'production' : 'development',
devtool: isProduction ? 'source-map' : 'eval-source-map', devtool: isProduction ? 'source-map' : 'eval-source-map',
target: 'web',
stats: { stats: {
children: false children: false