mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 20:39:08 +01:00
15 lines
480 B
JavaScript
15 lines
480 B
JavaScript
const getBaseConfig = require('./base.conf.js')
|
|
|
|
module.exports = function(config) {
|
|
const settings = getBaseConfig(config)
|
|
|
|
// ui and tests
|
|
settings.files.push('dist/mascara/ui.js')
|
|
settings.files.push('dist/mascara/tests.js')
|
|
// service worker background
|
|
settings.files.push({ pattern: 'dist/mascara/background.js', watched: false, included: false, served: true }),
|
|
settings.proxies['/background.js'] = '/base/dist/mascara/background.js'
|
|
|
|
config.set(settings)
|
|
}
|