mirror of
https://github.com/flarum/framework.git
synced 2024-12-23 22:33:38 +08:00
8f856f85db
Saves 2kB after minify+gzip :D
25 lines
730 B
JavaScript
25 lines
730 B
JavaScript
var gulp = require('flarum-gulp');
|
|
|
|
gulp({
|
|
files: [
|
|
'node_modules/babel-core/external-helpers.js',
|
|
'../bower_components/loader.js/loader.js',
|
|
'../bower_components/mithril/mithril.js',
|
|
'../bower_components/jquery/dist/jquery.js',
|
|
'../bower_components/jquery.hotkeys/jquery.hotkeys.js',
|
|
'../bower_components/color-thief/js/color-thief.js',
|
|
'../bower_components/moment/moment.js',
|
|
'../bower_components/bootstrap/dist/js/bootstrap.js',
|
|
'../bower_components/spin.js/spin.js',
|
|
'../bower_components/spin.js/jquery.spin.js'
|
|
],
|
|
moduleFiles: [
|
|
'src/**/*.js',
|
|
'../lib/**/*.js'
|
|
],
|
|
bootstrapFiles: [],
|
|
modulePrefix: 'flarum',
|
|
externalHelpers: true,
|
|
outputFile: 'dist/app.js'
|
|
});
|