Skip to content

Commit

Permalink
fix: export preprocessCSS in CJS (#11067)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy committed Nov 29, 2022
1 parent 43d0948 commit c13134a
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 c13134a

Please sign in to comment.