Split scripts
This commit is contained in:
parent
733a34f19d
commit
5a78ca28ec
3 changed files with 11 additions and 3 deletions
|
|
@ -68,12 +68,16 @@ gulp.task('styles', function () {
|
|||
});
|
||||
|
||||
gulp.task('scripts', function () {
|
||||
app.js([
|
||||
'node_modules/jquery/dist/jquery.js',
|
||||
config.js.sourceDir + '/**/*.js'
|
||||
], 'main.js')
|
||||
|
||||
app.js([
|
||||
'node_modules/jquery/dist/jquery.js',
|
||||
'node_modules/prismjs/prism.js',
|
||||
'node_modules/prismjs/components/prism-{apacheconf,bsash,css,diff,ini,json,nginx,php,sass,scss,sql,less,twig,xml,yaml}.js',
|
||||
config.js.sourceDir + '/**/*.js'
|
||||
], 'site.js')
|
||||
], 'post.js')
|
||||
});
|
||||
|
||||
gulp.task('watch', ['default'], function () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue