typescript-css-template-string-plugin
TypeScript icon, indicating that this package has built-in type declarations

0.4.0 • Public • Published

TypeScript language service Plugin - CSS template string

TS language service plugin that provides TS support for working with embedded CSS template strings.

Features

  • [x] Suggest classes from same file

TODO

  • [ ] Configurable PostCSS plugins

Development

The /test directory contains an example setup to develop against.

Start the compiler in watch mode for the plugin

npm run watch --workspace=typescript-css-template-string-plugin

Open the test directory

Oen the /test directory and install the dependencies. Then to develop against the workspace plugin instance you must be using the workspace version of TypeScript. Open the test/example.ts file, then run the TypeScript: Select TypeScript Version command and select "Use workspace version"

You should now be able to edit the CSS in the template string and see autocomplete suggestions.

Reference

/typescript-css-template-string-plugin/

    Package Sidebar

    Install

    npm i typescript-css-template-string-plugin

    Weekly Downloads

    1

    Version

    0.4.0

    License

    ISC

    Unpacked Size

    15 kB

    Total Files

    15

    Last publish

    Collaborators

    • dhedgecock