diff --git a/crates/mako/src/config/config.rs b/crates/mako/src/config/config.rs index 4235564af..30939222a 100644 --- a/crates/mako/src/config/config.rs +++ b/crates/mako/src/config/config.rs @@ -683,7 +683,7 @@ const DEFAULT_CONFIG: &str = r#" "providers": {}, "publicPath": "/", "inlineLimit": 10000, - "targets": { "chrome": 80 }, + "targets": {}, "less": { "theme": {}, "lesscPath": "", javascriptEnabled: true }, "define": {}, "mdx": false, diff --git a/packages/bundler-mako/index.js b/packages/bundler-mako/index.js index 86408b552..ed2db0b83 100644 --- a/packages/bundler-mako/index.js +++ b/packages/bundler-mako/index.js @@ -600,9 +600,7 @@ async function getMakoConfig(opts) { }, mode: 'development', publicPath: runtimePublicPath ? 'runtime' : publicPath || '/', - targets: targets || { - chrome: 80, - }, + targets: targets || {}, manifest, mdx: !!mdx, codeSplitting: