Skip to content

Commit

Permalink
debundle more caniuse-lite
Browse files Browse the repository at this point in the history
  • Loading branch information
Timer committed Jan 25, 2021
1 parent a595d57 commit 038ac70
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/compiled/postcss-preset-env/index.js

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions packages/next/taskfile.js
Expand Up @@ -36,6 +36,10 @@ const externals = {
// Browserslist (post-css plugins)
browserslist: 'browserslist',
'caniuse-lite': 'caniuse-lite', // FIXME: `autoprefixer` will still bundle this because it uses direct imports
'caniuse-lite/data/features/border-radius':
'caniuse-lite/data/features/border-radius',
'caniuse-lite/data/features/css-featurequeries.js':
'caniuse-lite/data/features/css-featurequeries',

chalk: 'chalk',
'node-fetch': 'node-fetch',
Expand Down

0 comments on commit 038ac70

Please sign in to comment.