Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit a232830

Browse files
committed
fix: rebuild when postcss plugins changed
1 parent 9653ced commit a232830

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

server/app.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,8 @@ export class Application implements ServerApplication {
149149
const buildManifestFile = join(this.buildDir, 'build.manifest.json')
150150
const configChecksum = computeHash(JSON.stringify({
151151
...this.sharedCompileOptions,
152-
plugins: this.config.plugins.filter(isLoaderPlugin).map(({ name }) => name)
152+
plugins: this.config.plugins.filter(isLoaderPlugin).map(({ name }) => name),
153+
postcssPlugins: postcssConfig.plugins.map(p => p.toString())
153154
}, (key: string, value: any) => {
154155
if (key === 'inlineStylePreprocess') {
155156
return void 0

0 commit comments

Comments
 (0)