Skip to content

Commit 793255d

Browse files
authored
fix: export preprocessCSS in CJS (#11067)
1 parent 7b72069 commit 793255d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/vite/index.cjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ const asyncFunctions = [
1515
'resolveConfig',
1616
'optimizeDeps',
1717
'formatPostcssSourceMap',
18-
'loadConfigFromFile'
18+
'loadConfigFromFile',
19+
'preprocessCSS'
1920
]
2021
asyncFunctions.forEach((name) => {
2122
module.exports[name] = (...args) =>

0 commit comments

Comments
 (0)