Skip to content
This repository has been archived by the owner on Feb 20, 2020. It is now read-only.

Commit

Permalink
Merge pull request #40 from Xazzzi/feature/postcss-inline-sourcemaps
Browse files Browse the repository at this point in the history
Add inline sourcemaps for postcss. Bump package version.
  • Loading branch information
n1ru4l authored Jan 23, 2018
2 parents a0f484b + b4ccbb9 commit 446925e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
4 changes: 4 additions & 0 deletions processors/postcss.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []

Expand Down

0 comments on commit 446925e

Please sign in to comment.