Skip to content

Commit

Permalink
no need to warn about sourcemap
Browse files Browse the repository at this point in the history
  • Loading branch information
egoist committed Jan 13, 2018
1 parent 0565a37 commit 19cbe01
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/postcss-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,6 @@ export default {
name: 'postcss',
test: /\.(css|sss)$/,
async process({ code, map }) {
if (!this.sourceMap && map) {
console.warn(
`\n\n ⚠️ rollup-plugin-postcss\n\nPrevious source map found, but options.sourceMap isn't set.\nIn this case the loader will discard the source map entirely for performance reasons.\n\n`
)
}

const config = this.options.config ?
await loadConfig(this.id, this.options.config) :
{}
Expand Down

0 comments on commit 19cbe01

Please sign in to comment.