We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f51a342 commit 3dce789Copy full SHA for 3dce789
index.js
@@ -13,7 +13,7 @@ const defaultOptions = {
13
14
module.exports = (api, options) => {
15
const appRootPath = api.getCwd()
16
- const pluginOptions = options.pluginOptions.browserExtension ? options.pluginOptions.browserExtension : defaultOptions
+ const pluginOptions = options.pluginOptions.browserExtension ? Object.assign(defaultOptions, options.pluginOptions.browserExtension) : defaultOptions
17
const componentOptions = pluginOptions.componentOptions
18
const packageJson = require(path.join(appRootPath, 'package.json'))
19
const isDevelopment = api.service.mode === 'development'
0 commit comments