mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-30 22:23:00 +00:00
fix(v2): add default value for options in theme classic [ci skip] (#2688)
This commit is contained in:
parent
94b712d4fd
commit
ab5590bafa
|
|
@ -46,7 +46,7 @@ module.exports = function (context, options) {
|
|||
defaultDarkMode = false,
|
||||
prism: {additionalLanguages = []} = {},
|
||||
} = themeConfig || {};
|
||||
const {customCss} = options;
|
||||
const {customCss} = options || {};
|
||||
|
||||
return {
|
||||
name: 'docusaurus-theme-classic',
|
||||
|
|
|
|||
Loading…
Reference in New Issue