2015-06-08 13:27:23 +08:00
|
|
|
var gulp = require('flarum-gulp');
|
2015-04-25 20:58:39 +08:00
|
|
|
|
2015-06-08 13:27:23 +08:00
|
|
|
gulp({
|
|
|
|
files: [
|
|
|
|
'../bower_components/loader.js/loader.js',
|
|
|
|
'../bower_components/mithril/mithril.js',
|
|
|
|
'../bower_components/jquery/dist/jquery.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',
|
|
|
|
outputFile: 'dist/app.js'
|
2015-04-25 20:58:39 +08:00
|
|
|
});
|