Skip to content

Commit

Permalink
Normalize import path for emitted css files by rollup-plugin (#710)
Browse files Browse the repository at this point in the history
Co-authored-by: mattcompiles <mattjones701@gmail.com>
  • Loading branch information
riccardoperra and mattcompiles committed Jun 3, 2022
1 parent 3fc5040 commit e338442
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/kind-zoos-cover.md
@@ -0,0 +1,5 @@
---
'@vanilla-extract/rollup-plugin': patch
---

Normalize import path for emitted css files
4 changes: 3 additions & 1 deletion packages/rollup-plugin/src/index.ts
Expand Up @@ -7,7 +7,9 @@ import {
getSourceFromVirtualCssFile,
virtualCssFileFilter,
} from '@vanilla-extract/integration';
import { relative, normalize, dirname } from 'path';
import { posix } from 'path';

const { relative, normalize, dirname } = posix;

interface Options {
identifiers?: IdentifierOption;
Expand Down

0 comments on commit e338442

Please sign in to comment.