0.2.0 • Published 4 months ago

@css-modules-kit/ts-plugin v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

@css-modules-kit/ts-plugin

A TypeScript Language Service Plugin for CSS Modules

What is this?

@css-modules-kit/ts-plugin is a TypeScript Language Service Plugin that extends tsserver to handle *.module.css files. As a result, many language features like code navigation and rename refactoring become available.

Installation

npm i -D @css-modules-kit/ts-plugin

How to setup your editor

Neovim

local lspconfig = require('lspconfig')

lspconfig.ts_ls.setup {
  init_options = {
    plugins = {
      {
        name = '@css-modules-kit/ts-plugin',
        languages = { 'css' },
      },
    },
  },
  filetypes = { 'typescript', 'javascript', 'javascriptreact', 'typescriptreact', 'css' },
}

Configuration

See css-modules-kit's README.

0.2.0

4 months ago

0.1.1

6 months ago

0.1.0

7 months ago

0.0.6

7 months ago

0.0.5

8 months ago

0.0.4

8 months ago

0.0.3

8 months ago

0.0.2

8 months ago

0.0.1

8 months ago