forked from BootstrapCMS/CMS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulpfile.js
22 lines (16 loc) · 1018 Bytes
/
gulpfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
process.env.DISABLE_NOTIFIER = true
var elixir = require('laravel-elixir');
stylesPath = 'public/assets/styles/';
scriptsPath = 'public/assets/scripts/';
elixir.config.css.outputFolder = stylesPath;
elixir.config.js.outputFolder = scriptsPath;
elixir.config.sourcemaps = false;
elixir(function (mix) {
mix.copy('resources/assets/css/bootstrap.*.min.css', stylesPath);
mix.styles(['bootstrap.min.css'], stylesPath + 'bootstrap.default.min.css');
mix.styles(['bootstrap.min.css', 'bootstrap-theme.min.css'], stylesPath + 'bootstrap.legacy.min.css');
mix.styles(['cms-main.css'], stylesPath + 'cms-main.css');
mix.scripts(['cms-timeago.js', 'cms-restfulizer.js', 'cms-carousel.js', 'cms-alerts.js'], scriptsPath + 'cms-main.js');
mix.scripts(['cms-picker.js'], scriptsPath + 'cms-picker.js');
mix.scripts(['cms-comment-core.js', 'cms-comment-edit.js', 'cms-comment-delete.js', 'cms-comment-create.js', 'cms-comment-fetch.js', 'cms-comment-main.js'], scriptsPath + 'cms-comment.js');
});