Skip to content

Commit

Permalink
fix: mfsu global css priority (#6912)
Browse files Browse the repository at this point in the history
  • Loading branch information
sorrycc committed Jul 7, 2021
1 parent 33baf08 commit 73925ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/preset-built-in/src/plugins/features/globalCSS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default (api: IApi) => {
api.addEntryCodeAhead(
() =>
`${globalCSSFile
.map((file) => `require('${winPath(relative(absTmpPath, file))}');`)
.map((file) => `import '${winPath(relative(absTmpPath, file))}';`)
.join('')}`,
);
};

0 comments on commit 73925ad

Please sign in to comment.