1 Star 0 Fork 44

ericwang/Hifone

forked from Hifone/Hifone 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
gulpfile.js 3.04 KB
一键复制 编辑 原始数据 按行查看 历史
phecho 提交于 2016-06-21 17:22 . Merge branch '1.0'
var elixir = require('laravel-elixir'),
gulp = require('gulp'),
gutil = require('gulp-util'),
coffee = require('gulp-coffee');
gulp.task('coffee', function() {
gulp.src('./resouces/assets/coffee/**/*.coffee')
.pipe(gulp.dest('./public/dist/coffee/'))
.pipe(coffee({bare: true}).on('error', gutil.log));
});
elixir.config.production = true;
elixir.config.sourcemaps = false;
elixir(function (mix) {
mix
.sass('hifone.scss', 'public/dist/css/hifone.css')
.styles([
'vendor/bower_components/prism/themes/prism-okaidia.css',
'vendor/bower_components/nprogress/nprogress.css',
'vendor/bower_components/messenger/build/css/messenger*.css',
'vendor/bower_components/select2/dist/css/select2.css',
'vendor/bower_components/ekko-lightbox/dist/ekko-lightbox.css',
'public/dist/css/hifone.css'
], 'public/dist/css/all.css', './')
.coffee()
.scripts([
'vendor/bower_components/jquery/dist/jquery.js',
'vendor/bower_components/bootstrap-sass/assets/javascripts/bootstrap.js',
'vendor/bower_components/underscore/underscore-min.js',
'vendor/bower_components/backbone/backbone-min.js',
'vendor/bower_components/sweetalert/dist/sweetalert.min.js',
'vendor/bower_components/moment/min/moment-with-locales.js',
'vendor/bower_components/lodash/lodash.js',
'vendor/bower_components/messenger/build/js/messenger.js',
'vendor/bower_components/jquery-pjax/jquery.pjax.js',
'vendor/bower_components/autosize/jquery.autosize.min.js',
'vendor/bower_components/scrollup/dist/jquery.scrollUp.min.js',
'vendor/bower_components/jquery-textcomplete/dist/jquery.textcomplete.min.js',
'vendor/bower_components/nprogress/nprogress.js',
'vendor/bower_components/jquery-serialize-object/jquery.serialize-object.js',
'vendor/bower_components/jquery-caret/jquery.caret.js',
'vendor/bower_components/marked/marked.min.js',
'vendor/bower_components/markdown/lib/markdown.js',
'vendor/bower_components/prism/prism.js',
'vendor/bower_components/prism/components/prism-php*.min.js',
'vendor/bower_components/localforage/dist/localforage.min.js',
'vendor/bower_components/emoji/lib/emoji.js',
'vendor/bower_components/emojify/dist/js/emojify.min.js',
'vendor/bower_components/ekko-lightbox/dist/ekko-lightbox.min.js',
'vendor/bower_components/Sortable/Sortable.js',
'vendor/bower_components/select2/dist/js/select2.min.js',
'vendor/bower_components/inline-attachment/src/inline-attach.js',
'vendor/bower_components/inline-attachment/src/jquery.inline-attach.js',
'public/js/app.js'
], 'public/dist/js/all.js', './')
.version(['public/dist/css/all.css', 'public/dist/js/all.js'])
.copy('vendor/bower_components/font-awesome/fonts/', 'public/fonts/');
});
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/wbteve/Hifone.git
git@gitee.com:wbteve/Hifone.git
wbteve
Hifone
Hifone
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385