Skip to content

Commit

Permalink
fix(compiler): merge user plugins with default plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
lokesh-coder committed Sep 16, 2020
1 parent 0ac5baa commit 5849d0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/compiler/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class LesyCompiler {
if (this.opts.loadDefaultPlugins) {
appData.plugins = [
...this.defaultPlugins.map((p: string) => require.resolve(p)),
...appData.plugins,
...(appData.plugins || []),
];
}
const config = this.defaultConfig;
Expand Down

0 comments on commit 5849d0f

Please sign in to comment.