1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-18 23:42:25 +02:00

Building built.public js via Elixir

- Fetching bootstrap-combobox via Bower, same version as before
- Minifying result
This commit is contained in:
Holger Lösken 2016-07-22 17:48:14 +02:00
parent e512bad1a5
commit 1e1a636ebb
4 changed files with 27 additions and 427 deletions

View File

@ -4,6 +4,7 @@
"dependencies": {
"jquery": "1.11.3",
"bootstrap": "3.3.1",
"bootstrap-combobox": "1.1.5",
"jquery-ui": "1.11.2",
"datatables": "1.10.4",
"datatables-bootstrap3": "*",

View File

@ -7,6 +7,22 @@ var elixir = require('laravel-elixir');
*/
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.
* If changing this, please also see .bowerrc
@ -26,5 +42,11 @@ elixir(function(mix) {
* 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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long