Skip to content

Commit

Permalink
""
Browse files Browse the repository at this point in the history
  • Loading branch information
ouweiya committed Sep 26, 2023
1 parent 0ce302b commit 2d87b4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import { dirname, resolve } from 'node:path';
const __filename = fileURLToPath(import.meta.url);
const cssPath = resolve(dirname(__filename), 'src/index.css'); // Absolute path

plugins: [alias({ entries: [{ find: 'index.css', replacement: 'cssPath' }] }), ...];
plugins: [alias({ entries: [{ find: 'index.css', replacement: cssPath }] }), ...];
```
#### Compile inline CSS
Expand Down

0 comments on commit 2d87b4c

Please sign in to comment.