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
          }
        ]
      ]
    }
  }
}

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.1.67latest

Version History

VersionDownloads (Last 7 Days)Published
0.1.67
0.1.51
0.1.40
0.1.30
0.1.22
0.1.10
0.1.02

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