feat: use absolute path for resolving temporary css files
This commit is contained in:
parent
9d80e9abe0
commit
ff4d4a90b0
@ -133,10 +133,9 @@ const postCSSPlugin = ({
|
||||
|
||||
return {
|
||||
resolveDir,
|
||||
contents: `import "${args.path.replace(
|
||||
resolveDir,
|
||||
"."
|
||||
)}"; export default ${JSON.stringify(mod.map)};`
|
||||
contents: `import "${args.path}";\nexport default ${JSON.stringify(
|
||||
mod && mod.map ? mod.map : {}
|
||||
)};`
|
||||
};
|
||||
}
|
||||
);
|
||||
|
||||
4
test/styles/test/components/Wallet.module.sass
Normal file
4
test/styles/test/components/Wallet.module.sass
Normal file
@ -0,0 +1,4 @@
|
||||
.Wallet
|
||||
text-align: left
|
||||
justify-content: space-around
|
||||
font-size: 2em
|
||||
Loading…
x
Reference in New Issue
Block a user