There was an error while loading. Please reload this page.
1 parent 0ac5baa commit 5849d0fCopy full SHA for 5849d0f
packages/compiler/src/index.ts
@@ -88,7 +88,7 @@ class LesyCompiler {
88
if (this.opts.loadDefaultPlugins) {
89
appData.plugins = [
90
...this.defaultPlugins.map((p: string) => require.resolve(p)),
91
- ...appData.plugins,
+ ...(appData.plugins || []),
92
];
93
}
94
const config = this.defaultConfig;
0 commit comments