Skip to content

Commit

Permalink
chore: add link to the PR
Browse files Browse the repository at this point in the history
  • Loading branch information
patak-dev committed Jan 26, 2023
1 parent 9133b4c commit 5557665
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vite/src/node/packages.ts
Expand Up @@ -104,6 +104,7 @@ export function loadPackageData(
/*
* The array accepts simple glob patterns to the relevant files... Patterns like *.css, which do not include a /, will be treated like **\/*.css.
* https://webpack.js.org/guides/tree-shaking/
* https://github.com/vitejs/vite/pull/11807
*/
if (sideEffect.includes('/')) {
return sideEffect
Expand Down

0 comments on commit 5557665

Please sign in to comment.