s/PATHS/paths

This commit is contained in:
Boyma Fahnbulleh 2017-03-26 16:21:09 -07:00 committed by Christopher Jeffrey
parent 48d60eeaab
commit 096aaaebb2
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -1,14 +1,15 @@
const webpack = require('webpack') const webpack = require('webpack')
const PATHS = { const paths = {
bcoin: './lib/bcoin', bcoin: './lib/bcoin',
master: './lib/workers/master' master: './lib/workers/master'
} }
module.exports = { module.exports = {
entry: { entry: {
'bcoin': PATHS.bcoin, 'bcoin': paths.bcoin,
'bcoin.min': PATHS.bcoin, 'bcoin.min': paths.bcoin,
'bcoin-master': PATHS.master, 'bcoin-master': paths.master,
'bcoin-master.min': PATHS.master 'bcoin-master.min': paths.master
}, },
output: { output: {
path: './browser', path: './browser',