mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 02:53:19 +02:00
Ensure that all API calls and static resources are in their own unique paths. This makes it easier to add a load balancer on top of everything.
This commit is contained in:
@@ -6,12 +6,12 @@ module.exports = {
|
||||
cache: true
|
||||
, entry: {
|
||||
app: pathutil.resource('app/app.js')
|
||||
, authldap: pathutil.resource('auth-ldap/scripts/entry.js')
|
||||
, authmock: pathutil.resource('auth-mock/scripts/entry.js')
|
||||
, authldap: pathutil.resource('auth/ldap/scripts/entry.js')
|
||||
, authmock: pathutil.resource('auth/mock/scripts/entry.js')
|
||||
}
|
||||
, output: {
|
||||
path: pathutil.resource('build')
|
||||
, publicPath: '/static/build/'
|
||||
, publicPath: '/static/app/build/'
|
||||
, filename: 'entry/[name].entry.js'
|
||||
, chunkFilename: '[id].[hash].chunk.js'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user