Skip to content

Commit

Permalink
fix(rollup): compliant vite (#763)
Browse files Browse the repository at this point in the history
  • Loading branch information
wmzy committed Jun 6, 2021
1 parent 183ca4e commit 3966dcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rollup/src/index.ts
Expand Up @@ -49,7 +49,7 @@ export default function linaria({
let { cssText } = result;

const slug = slugify(cssText);
const filename = `${id.replace(/\.js$/, '')}_${slug}.css`;
const filename = `@linaria:${id.replace(/\.js$/, '')}_${slug}.css`;

if (sourceMap && result.cssSourceMapText) {
const map = Buffer.from(result.cssSourceMapText).toString('base64');
Expand Down

0 comments on commit 3966dcf

Please sign in to comment.