Skip to content

Commit

Permalink
fix: export preprocessCSS in CJS (vitejs#11067)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy authored and futurGH committed Feb 26, 2023
1 parent 8b3d006 commit c9147fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/vite/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ const asyncFunctions = [
'resolveConfig',
'optimizeDeps',
'formatPostcssSourceMap',
'loadConfigFromFile'
'loadConfigFromFile',
'preprocessCSS'
]
asyncFunctions.forEach((name) => {
module.exports[name] = (...args) =>
Expand Down

0 comments on commit c9147fb

Please sign in to comment.