Skip to content

Commit 5849d0f

Browse files
committed
fix(compiler): merge user plugins with default plugins
1 parent 0ac5baa commit 5849d0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/compiler/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class LesyCompiler {
8888
if (this.opts.loadDefaultPlugins) {
8989
appData.plugins = [
9090
...this.defaultPlugins.map((p: string) => require.resolve(p)),
91-
...appData.plugins,
91+
...(appData.plugins || []),
9292
];
9393
}
9494
const config = this.defaultConfig;

0 commit comments

Comments
 (0)