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: [
|
2015-06-08 13:58:45 +08:00
|
|
|
'node_modules/babel-core/external-helpers.js',
|
2015-06-08 13:27:23 +08:00
|
|
|
'../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',
|
2015-06-08 13:58:45 +08:00
|
|
|
externalHelpers: true,
|
2015-06-08 13:27:23 +08:00
|
|
|
outputFile: 'dist/app.js'
|
2015-04-25 20:58:39 +08:00
|
|
|
});
|