mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Reinstate route externals in Gulpfile
Accidental regression fromc4e5074f67
(seeaa1aebd007
)
This commit is contained in:
parent
c4e5074f67
commit
6926e85fff
@ -189,8 +189,10 @@ gulp.task('bundle-leftandmain', function bundleLeftAndMain() {
|
||||
ignore: /(thirdparty)/,
|
||||
comments: false
|
||||
}))
|
||||
.external('config')
|
||||
.external('jQuery')
|
||||
.external('i18n')
|
||||
.external('router')
|
||||
.bundle()
|
||||
.on('update', bundleLeftAndMain)
|
||||
.on('error', notify.onError({ message: 'Error: <%= error.message %>' }))
|
||||
@ -209,8 +211,10 @@ gulp.task('bundle-lib', function bundleLib() {
|
||||
ignore: /(thirdparty)/,
|
||||
comments: false
|
||||
}))
|
||||
.require(PATHS.ADMIN_JAVASCRIPT_SRC + '/config.js', { expose: 'config' })
|
||||
.require(PATHS.FRAMEWORK_JAVASCRIPT_SRC + '/jQuery.js', { expose: 'jQuery' })
|
||||
.require(PATHS.FRAMEWORK_JAVASCRIPT_SRC + '/i18n.js', { expose: 'i18n' })
|
||||
.require(PATHS.FRAMEWORK_JAVASCRIPT_SRC + '/router.js', { expose: 'router' })
|
||||
.bundle()
|
||||
.on('update', bundleLib)
|
||||
.on('error', notify.onError({ message: 'Error: <%= error.message %>' }))
|
||||
|
Loading…
Reference in New Issue
Block a user