Skip to content
Snippets Groups Projects
Commit 03d4276e authored by jurgenhaas's avatar jurgenhaas
Browse files

Support environment specific scss files

parent e139088e
No related branches found
No related tags found
No related merge requests found
......@@ -221,6 +221,8 @@ class Handler
'js/{{ project_name }}.js',
'sass/_default-variables.scss',
'sass/style.scss',
'sass/environment/development/_local-settings.scss',
'sass/environment/production/_local-settings.scss',
'.gitignore',
'favicon.ico',
'logo.svg',
......
......@@ -55,6 +55,7 @@ gulp.task('css', function() {
outputStyle:gulpif(options.env !== 'production', 'nested', 'compressed'),
includePaths:[
config.sassPath,
config.sassPath + '/environment/' + options.env,
{% for name, package in bower_assets %}
{% if package.sass is defined %}
'{{ package.sass.relative }}',
......
// Define your variables for the development environment below
// Define your variables for the production environment below
......@@ -4,6 +4,7 @@
//
// Also, please have a look into default variables.
// =============================================================================
@import 'local-settings';
@import 'settings';
@import 'default-variables';
@import 'bower-assets.scss';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment