Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Commit cb3ed4c

Browse files
committed
fix-next: set default values for bundle config loader options
1 parent 7263809 commit cb3ed4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bundle-config-loader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module.exports = function(source) {
22
this.cacheable();
3-
const { registerPages, loadCss } = this.query;
3+
const { registerPages = true, loadCss = true } = this.query;
44

55
if (registerPages) {
66
source = `

0 commit comments

Comments
 (0)