1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-09 20:52:56 +01:00

Set up Elixir with built.public.js

This commit is contained in:
Holger Lösken 2016-07-26 11:46:15 +02:00 committed by Holger Lösken
parent d491082a9d
commit 62a25b00b3
4 changed files with 27 additions and 969 deletions

View File

@ -149,7 +149,7 @@ module.exports = function(grunt) {
process: false process: false
} }
}, },
css_public: { /*css_public: {
src: [ src: [
'public/vendor/bootstrap/dist/css/bootstrap.min.css', 'public/vendor/bootstrap/dist/css/bootstrap.min.css',
'public/vendor/font-awesome/css/font-awesome.min.css', 'public/vendor/font-awesome/css/font-awesome.min.css',
@ -162,7 +162,7 @@ module.exports = function(grunt) {
nonull: true, nonull: true,
options: { options: {
process: false process: false
} }*/
}, },
/*js_pdf: { /*js_pdf: {
src: [ src: [

View File

@ -23,6 +23,14 @@ elixir.config.assetsPath = '';
*/ */
elixir.config.js.folder = ''; elixir.config.js.folder = '';
/**
* Configuring CSS assets path.
* Explicitly setting it to empty, as we're not using Laravels resources/assets/css folder
*
* @type {string}
*/
elixir.config.css.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
@ -36,7 +44,14 @@ elixir(function(mix) {
/** /**
* CSS configuration * CSS configuration
*/ */
mix.styles([
bowerDir + '/bootstrap/dist/css/bootstrap.css',
bowerDir + '/font-awesome/css/font-awesome.css',
bowerDir + '/datatables/media/css/jquery.dataTables.css',
bowerDir + '/datatables-bootstrap3/BS3/assets/css/datatables.css',
'public/css/bootstrap-combobox.css',
'public/css/public.style.css'
], 'public/css/built.public.css');
/** /**
* JS configuration * JS configuration

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long