feat: indicate original extension in tmp filename
This commit is contained in:
parent
1e7ec7d881
commit
6066b58c3d
@ -50,7 +50,7 @@ const postCSSPlugin = ({
|
|||||||
tmpDir = path.resolve(tmpDirPath, sourceRelDir),
|
tmpDir = path.resolve(tmpDirPath, sourceRelDir),
|
||||||
tmpFilePath = path.resolve(
|
tmpFilePath = path.resolve(
|
||||||
tmpDir,
|
tmpDir,
|
||||||
`${sourceBaseName}-tmp-${Date.now()}${
|
`${sourceBaseName}-tmp-${Date.now()}-${sourceExt.replace(".", "")}${
|
||||||
isModule ? ".module" : ""
|
isModule ? ".module" : ""
|
||||||
}.css`
|
}.css`
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user