We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce88bdf commit 0183b14Copy full SHA for 0183b14
1 file changed
packages/rollup-plugin-import-css/src/index.ts
@@ -64,6 +64,7 @@ export function importCSS(options: ImportCSSOptions): Plugin {
64
}
65
66
const sourceId = path.join(path.dirname(id), path.basename(id, '.js'))
67
+ this.addWatchFile(sourceId)
68
const code = await fs.readFile(sourceId, 'utf8')
69
const hash = getSourceHash(code)
70
const relativePath = path.relative(rootDirectory, sourceId)
0 commit comments