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 1dc2198 commit ecd96a8Copy full SHA for ecd96a8
index.js
@@ -31,7 +31,7 @@ module.exports = (api, options) => {
31
? Object.assign(defaultOptions, options.pluginOptions.browserExtension)
32
: defaultOptions
33
const componentOptions = pluginOptions.componentOptions
34
- const packageJson = api.resolve('package.json')
+ const packageJson = require(api.resolve('package.json'))
35
const isProduction = api.service.mode === 'production'
36
const keyFile = api.resolve('key.pem')
37
const hasKeyFile = keyExists(keyFile)
0 commit comments