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 58c5499 commit fc1669fCopy full SHA for fc1669f
index.js
@@ -10,7 +10,7 @@ const defaultOptions = { components: {} }
10
11
module.exports = (api, options) => {
12
const appRootPath = api.getCwd()
13
- const pluginOptions = options.pluginOptions.browserExtension ? options.pluginOptions.browserExtension : defaultOptions
+ const pluginOptions = options.pluginOptions.browserExtension ? options.pluginOptions.browserExtension.options : defaultOptions
14
const { name, version } = require(path.join(appRootPath, 'package.json'))
15
const isDevelopment = api.service.mode === 'development'
16
const isProduction = api.service.mode === 'production'
0 commit comments