swc-plugin-gem

0.1.6 • Public • Published

Gem plugin for SWC

  • auto import
  • support memo getter
  • support minify style
  • resolve full path (for esm)

Example

{
  "$schema": "https://swc.rs/schema.json",
  "jsc": {
    "target": "es2024",
    "parser": { "syntax": "typescript" },
    "experimental": {
      "plugins": [
        [
          "swc-plugin-gem",
          {
            "autoImport": {
              "extends": "gem",
              "members": {
                "test": ["test"]
              }
            },
            "autoImportDts": true
          }
        ]
      ]
    }
  }
}

Package Sidebar

Install

npm i swc-plugin-gem

Weekly Downloads

12

Version

0.1.6

License

ISC

Unpacked Size

4.23 MB

Total Files

3

Last publish

Collaborators

  • mantou132