mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 02:00:43 +00:00
Speed up npm bundle builds
Use include option to point to app sources
This commit is contained in:
@@ -14,6 +14,8 @@ module.exports = {
|
||||
// fail on first error when building release
|
||||
bail: true,
|
||||
|
||||
cache: {},
|
||||
|
||||
entry: {
|
||||
app: './app/scripts/main',
|
||||
'terminal-app': './app/scripts/terminal-main'
|
||||
@@ -25,6 +27,9 @@ module.exports = {
|
||||
},
|
||||
|
||||
module: {
|
||||
include: [
|
||||
path.resolve(__dirname, 'app/scripts')
|
||||
],
|
||||
preLoaders: [
|
||||
{
|
||||
test: /\.js$/,
|
||||
|
||||
Reference in New Issue
Block a user