From b4ccbb9172cb7ae0a927009a006730104ea9a9a5 Mon Sep 17 00:00:00 2001 From: Xazzzi Date: Tue, 23 Jan 2018 12:36:26 +0200 Subject: [PATCH] Add inline sourcemaps for postcss. Bump package version. --- package.json | 2 +- processors/postcss.js | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 3ad023c..e4a22ec 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ember-cli-css-preprocess", - "version": "1.2.2", + "version": "1.2.3", "description": "Preprocess your stylesheets with multiple preprocessors like node-sass, postcss or less", "main": "index.js", "scripts": { diff --git a/processors/postcss.js b/processors/postcss.js index 372c81c..f7a7290 100644 --- a/processors/postcss.js +++ b/processors/postcss.js @@ -29,6 +29,10 @@ module.exports = function PostCSSProcessorInitializer(postcss) { if(processor.syntax) { processOptions.syntax = processor.syntax } + + if (processor.sourcemaps) { + processOptions.map = { inline: true } + } const plugins = []