mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-01 02:14:35 -04:00
Building built.public js via Elixir
- Fetching bootstrap-combobox via Bower, same version as before - Minifying result
This commit is contained in:
parent
e512bad1a5
commit
1e1a636ebb
@ -4,6 +4,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"jquery": "1.11.3",
|
"jquery": "1.11.3",
|
||||||
"bootstrap": "3.3.1",
|
"bootstrap": "3.3.1",
|
||||||
|
"bootstrap-combobox": "1.1.5",
|
||||||
"jquery-ui": "1.11.2",
|
"jquery-ui": "1.11.2",
|
||||||
"datatables": "1.10.4",
|
"datatables": "1.10.4",
|
||||||
"datatables-bootstrap3": "*",
|
"datatables-bootstrap3": "*",
|
||||||
|
22
gulpfile.js
22
gulpfile.js
@ -7,6 +7,22 @@ var elixir = require('laravel-elixir');
|
|||||||
*/
|
*/
|
||||||
elixir.config.sourcemaps = true;
|
elixir.config.sourcemaps = true;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Configuring assets path.
|
||||||
|
* Explicitly setting it to empty, as we're not using Laravels resources/assets folder
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
*/
|
||||||
|
elixir.config.assetsPath = '';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Configuring Javascript assets path.
|
||||||
|
* Explicitly setting it to empty, as we're not using Laravels resources/assets/js folder
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
*/
|
||||||
|
elixir.config.js.folder = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Directory for bower source files.
|
* Directory for bower source files.
|
||||||
* If changing this, please also see .bowerrc
|
* If changing this, please also see .bowerrc
|
||||||
@ -26,5 +42,11 @@ elixir(function(mix) {
|
|||||||
* JS configuration
|
* JS configuration
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// built.public.js
|
||||||
|
mix.scripts([
|
||||||
|
bowerDir + '/bootstrap/dist/js/bootstrap.js',
|
||||||
|
bowerDir + '/bootstrap-combobox/js/bootstrap-combobox.js'
|
||||||
|
], elixir.config.publicPath + '/built.public.js');
|
||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
429
public/built.public.js
Normal file → Executable file
429
public/built.public.js
Normal file → Executable file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user