Skip to content

Commit

Permalink
chore: targets default from chrome 80 to any-target
Browse files Browse the repository at this point in the history
  • Loading branch information
Jinbao1001 committed Jul 26, 2024
1 parent 146af1c commit 52adb4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crates/mako/src/config/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 1 addition & 3 deletions packages/bundler-mako/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -600,9 +600,7 @@ async function getMakoConfig(opts) {
},
mode: 'development',
publicPath: runtimePublicPath ? 'runtime' : publicPath || '/',
targets: targets || {
chrome: 80,
},
targets: targets || {},
manifest,
mdx: !!mdx,
codeSplitting:
Expand Down

0 comments on commit 52adb4d

Please sign in to comment.