Releases: fengmk2/css-modules-kit
Release 2026-05-12T16:17Z
css-modules-kit-zed@0.1.2
Patch Changes
css-modules-kit-vscode@1.2.0
Patch Changes
-
#397
53793dd- fix(vscode, ts-plugin): support file rename from a CSS module@import/@value ... fromspecifierRenaming a CSS module via the import specifier in VS Code (e.g. invoking Rename Symbol on
b.module.cssinside@import './b.module.css';) now performs a real file rename and updates every importer of the renamed file. Previously the located text span was blindly replaced with the user's input, which dropped the path prefix ('./b.module.css'became'bb.module.css') and left the file on disk unchanged.ts-plugin exposes a new internal protocol handler
_css-modules-kit:getEditsForFileRenamethat wraps the standard tsservergetEditsForFileRenameso the request can be reached throughtypescript.tsserverRequest. -
Updated dependencies [
53793dd,ab602bf]:- @css-modules-kit/ts-plugin@1.2.0