Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async addClient (compilation) {
if (this.autoreload && this.isWatching) {
await this.compileClient(compilation)
// Add client to extension. We will includes this
// as a background script in the manifest.json later.
compilation.assets['webextension-toolbox/client.js'] = this.client
}
}
async addClient (compilation) {
if (this.autoreload && this.isWatching) {
await this.compileClient(compilation)
// Add client to extension. We will includes this
// as a background script in the manifest.json later.
compilation.assets['webextension-toolbox/client.js'] = this.client
}
}