Skip to content

Releases: fengmk2/css-modules-kit

Release 2026-05-12T16:17Z

12 May 16:17
bf1881c

Choose a tag to compare

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 ... from specifier

    Renaming a CSS module via the import specifier in VS Code (e.g. invoking Rename Symbol on b.module.css inside @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:getEditsForFileRename that wraps the standard tsserver getEditsForFileRename so the request can be reached through typescript.tsserverRequest.

  • Updated dependencies [53793dd, ab602bf]:

    • @css-modules-kit/ts-plugin@1.2.0