0.2.0 • Published 8 months ago

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

Weekly downloads
-
License
MIT
Repository
github
Last release
8 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

8 months ago

0.1.1

10 months ago

0.1.0

11 months ago

0.0.6

11 months ago

0.0.5

11 months ago

0.0.4

11 months ago

0.0.3

11 months ago

0.0.2

11 months ago

0.0.1

11 months ago