Commit 6dead42d authored by Korko's avatar Korko
Browse files

Use Gulp to regroup medias in a single bundle

parent 9d507c74
......@@ -12,5 +12,15 @@ var elixir = require('laravel-elixir');
*/
elixir(function(mix) {
mix.sass('app.scss');
mix.browserify([
'main.js', 'app.js'
]);
mix.sass([
'../vendor/bootstrap-languages/languages.css',
'main.scss'
]);
mix.copy('resources/assets/img', 'public/img');
mix.copy('resources/assets/vendor/bootstrap-languages/languages.png', 'public/img');
mix.copy('node_modules/bootstrap-sass/assets/fonts', 'public/fonts');
mix.copy('node_modules/font-awesome/fonts', 'public/fonts');
});
{
"private": true,
"devDependencies": {
"gulp": "^3.8.8"
},
"dependencies": {
"alertify.js": "^1.0.12",
"aliasify": "^2.1.0",
"bootstrap-sass": "^3.0.0",
"font-awesome": "^4.7.0",
"gulp": "^3.8.8",
"jquery": "^3.1.1",
"jquery.actual": "dreamerslab/jquery.actual#master",
"jquery.scrollto": "^2.1.2",
"laravel-elixir": "^3.0.0",
"bootstrap-sass": "^3.0.0"
"vue": "^2.0.7"
},
"dependencies": {},
"browserify": {
"transform": [
"aliasify"
]
},
"aliasify": {
"aliases": {
"vue": "vue/dist/vue"
}
}
}
This diff is collapsed.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
This diff is collapsed.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
This diff is collapsed.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment