svelte-preprocess
Advanced tools
Comparing version 2.2.3 to 2.2.4
@@ -7,9 +7,2 @@ ### Changelog | ||
#### [v2.2.3](https://github.com/kaisermann/svelte-preprocess/compare/v2.2.2...v2.2.3) | ||
> 24 July 2018 | ||
- Show a warning if 'transformers.postcss: true' and no 'postcss.config.js' file was found [`45c7d83`](https://github.com/kaisermann/svelte-preprocess/commit/45c7d83fcfe4d7960136c3ee1097d6b05d920a80) | ||
- Update changelog [`18ce9a4`](https://github.com/kaisermann/svelte-preprocess/commit/18ce9a4a459740e16d8587e0533ba34e0e7a8789) | ||
#### [v2.2.2](https://github.com/kaisermann/svelte-preprocess/compare/v2.2.1...v2.2.2) | ||
@@ -16,0 +9,0 @@ |
{ | ||
"name": "svelte-preprocess", | ||
"version": "2.2.3", | ||
"version": "2.2.4", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -23,10 +23,7 @@ const postcss = require('postcss') | ||
.then(options => process(options.plugins || [], content, filename, map)) | ||
/** No config object passed and no config file found, do nothing */ | ||
/** Something went wrong, do nothing */ | ||
.catch(e => { | ||
console.warn( | ||
'\x1b[33m%s\x1b[0m', | ||
"[svelte-preprocess] Passed 'transformers.postcss: true' but no 'postcss.config.js' was found.", | ||
) | ||
console.error(e.message) | ||
return { code: content, map } | ||
}) | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18969
295