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

Commit

Permalink
fix: css plugin doesnt check type before calling generateCorrectSourc…
Browse files Browse the repository at this point in the history
…eMap (#897)
  • Loading branch information
mwmessin authored and nchanged committed Oct 24, 2017
1 parent 7add661 commit 2969f66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/stylesheet/CSSplugin.ts
Expand Up @@ -211,7 +211,7 @@ export class CSSPluginClass implements Plugin {
return;
}

if (file.sourceMap) {
if (typeof file.sourceMap === "string") {
file.sourceMap = file.generateCorrectSourceMap();
}
/**
Expand Down

0 comments on commit 2969f66

Please sign in to comment.