UNPKG

laravel-materialize

Version:

Material Design Lite integration for Laravel.

60 lines (54 loc) 1.98 kB
'use strict'; var Elixir = require('laravel-elixir'); /* |---------------------------------------------------------------- | Application Assets |---------------------------------------------------------------- | | These properties tell the package where to find the source files | for your application assets. By default these properties will | differ to Elixir's configuration, but you may change them. | */ var sassPath = Elixir.config.assetsPath + '/' + Elixir.config.css.sass.folder + '/'; var variablesFile = sassPath + '_mdl-variables.scss'; /* |---------------------------------------------------------------- | Asset Outputs |---------------------------------------------------------------- | | Once all of the Material Design Lite files have been merged | and compiled, they'll be saved to your public directory. | Here you can choose exactly where they will be saved. | */ var cssOutputFile = Elixir.config.publicPath + '/css/materialize.css'; var jsOutputFile = Elixir.config.publicPath + '/js/materialize.js'; var imagesOutputFolder = Elixir.config.publicPath + '/images'; /* |---------------------------------------------------------------- | 'Material Design Lite' Source Location |---------------------------------------------------------------- | | The location of 'Material Design Lite' source files is | specified here. You really shouldn't have to change | this. However, you may change it if you need to. | */ var mdlPath = 'node_modules/material-design-lite/src/'; var mdlSassFile = mdlPath + 'styleguide'; /** * Export all of the configuration settings set above * so that they will be accessible cleanly as well * as easily through the familiar dot notation. */ var config = { sassPath: sassPath, mdlPath: mdlPath, mdlSassFile: mdlSassFile, variablesFile: variablesFile, cssOutputFile: cssOutputFile, jsOutputFile: jsOutputFile, imagesOutputFolder: imagesOutputFolder }; module.exports = config;