{"_id":"@aliucord/rollup-plugin-swc","_rev":"4-43a83b72a842ea533d86a46f15885526","name":"@aliucord/rollup-plugin-swc","dist-tags":{"latest":"0.2.2"},"versions":{"0.2.2":{"name":"@aliucord/rollup-plugin-swc","version":"0.2.2","keywords":["rollup","plugin","swc"],"author":{"name":"Petr Tsymbarovich","email":"petr@tsymbarovich.ru"},"license":"MIT","_id":"@aliucord/rollup-plugin-swc@0.2.2","maintainers":[{"name":"6pak","email":"kubastaron@hotmail.com"},{"name":"juby210","email":"juby210@vp.pl"}],"homepage":"https://github.com/Aliucord/rollup-plugin-swc","bugs":{"url":"https://github.com/Aliucord/rollup-plugin-swc/issues"},"dist":{"shasum":"c71a3ecd537b26da4f714d8cf77c200866058181","tarball":"https://registry.npmjs.org/@aliucord/rollup-plugin-swc/-/rollup-plugin-swc-0.2.2.tgz","fileCount":6,"integrity":"sha512-P1QuH3XwjYxj4lOpDbCHSPHETF9qi0XRBAkuI1tdqW/shf9Q+gOzi7QtbK4dNoaklH4d9chQCJMqcMya80eeDg==","signatures":[{"sig":"MEYCIQDv5T1yrXuDGpGy/UYMprJqrxq5MbOny0SxpX0S4MiBLgIhANBKZZvTZQBubz2gNVvDaqSER1PEF6wtFe2r95nxMsbD","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9045,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJicFN/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqThw//XT0VAHsOJPK9deCp0S2o8qFKFpoLC+cXG/RfPWUZSLRGAClV\r\ncponpfEgNTmBvY3UFI7FWbSN04BunnPdttOZhe0udh9DICBQSfjcVVSJZ9lC\r\nq7yMT9o6465p7xZfZWibK/PhVKZ6eipXWnDRQj9euo/ugRuwOLtcKq8O7m15\r\nUKSV6rcv5GiwB2CSsjRn1HVbm42nIEv535NbB3vU6nUqRvCD7LVshExSLBjO\r\nmrnNYghCqV4FoyZ+hwYoR8SBrz69lhJxOqBHKzG6mmpc8+FO9q6zbJBeEtlJ\r\n3+B18CBym0Gd2SrRGlBD0wzxOmqwGxgK80X1vs9Tu6ZXYS6ykfCuSlNd02Gb\r\nKk/1DkRZFWwRFugtwf0VKeYOC/EdLOPNtsdwh/cfOURaBQnm8x6dKWrpp2g5\r\nccQ79CnvLVcCY378GSbCRq+1LacV1g6K/Z4tr5Yrt3lrKFh4O/6gie4xp7of\r\nxSlc2ZpuRRT7tTi1ChIQSSLOHCTgMCu0XNXZB4p20Kh6nQl/wngE3Y+ZZ98Y\r\nt3KC+EavtxcyHF7j9adYgYIPPXSbnm1UJvWBKQg7aSF3RwvUiCwjbJzvLFZg\r\nY9123aPnrwbZr4COJ961MXGzIIwI8EqNIg8nK5E6f7X4bZOS3lcWbdAI5Mlg\r\nOyZDP2CJYpZsAX6aiaQf2SI3YaEj6EXfY48=\r\n=NOrg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","_from":"file:aliucord-rollup-plugin-swc-0.2.2.tgz","types":"dist/index.d.ts","module":"dist/esm/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"pnpm run build:cjs & pnpm run build:esm & pnpm run build:types","build:cjs":"tsc -p config/cjs.json","build:esm":"tsc -p config/esm.json","build:types":"tsc -p config/types.json"},"_npmUser":{"name":"6pak","email":"kubastaron@hotmail.com"},"_resolved":"/home/js6pak/Development/rollup-plugin-swc/aliucord-rollup-plugin-swc-0.2.2.tgz","_integrity":"sha512-P1QuH3XwjYxj4lOpDbCHSPHETF9qi0XRBAkuI1tdqW/shf9Q+gOzi7QtbK4dNoaklH4d9chQCJMqcMya80eeDg==","repository":{"url":"git+ssh://git@github.com/Aliucord/rollup-plugin-swc.git","type":"git"},"_npmVersion":"8.5.5","description":"Rollup plugin to compile bundles with the SWC.","directories":{},"_nodeVersion":"16.15.0","dependencies":{"@rollup/pluginutils":"^4.1.2"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^2.66.1","@swc/core":"^1.2.135","typescript":"^4.5.5","@types/node":"^17.0.30","@types/estree":"^0.0.51","rollup-plugin-swc":"link:"},"peerDependencies":{"rollup":">=1.5.0","@swc/core":">=1.0"},"_npmOperationalInternal":{"tmp":"tmp/rollup-plugin-swc_0.2.2_1651528575358_0.43093646617364234","host":"s3://npm-registry-packages"}}},"time":{"created":"2022-05-02T21:56:15.306Z","modified":"2026-07-22T15:12:12.689Z","0.2.2":"2022-05-02T21:56:15.502Z"},"bugs":{"url":"https://github.com/Aliucord/rollup-plugin-swc/issues"},"author":{"name":"Petr Tsymbarovich","email":"petr@tsymbarovich.ru"},"license":"MIT","homepage":"https://github.com/Aliucord/rollup-plugin-swc","keywords":["rollup","plugin","swc"],"repository":{"url":"git+ssh://git@github.com/Aliucord/rollup-plugin-swc.git","type":"git"},"description":"Rollup plugin to compile bundles with the SWC.","maintainers":[{"email":"juby210@vp.pl","name":"juby210"},{"email":"kubastaron@hotmail.com","name":"6pak"},{"email":"vDiamond_@outlook.com","name":"diamond_"}],"readme":"# rollup-plugin-swc\n\n[Rollup](https://github.com/rollup/rollup) plugin to compile bundles with the [SWC](https://swc-project.github.io).\n\n## Install\n\n```sh\nnpm i -D rollup-plugin-swc @swc/core\n```\n> Note: `@swc/core` is a peer dependency\n\n## Usage\n\n```js\n// rollup.config.js\n\nimport swc from 'rollup-plugin-swc'\n\n\nexport default {\n  input: 'index.ts',\n  output: {\n    dir: 'dist',\n    format: 'es',\n  },\n  plugins: [\n    swc({\n      rollup: {\n        exclude: 'path/to/exclude/',\n      },\n      jsc: {\n        parser: {\n          syntax: 'typescript',\n        },\n        target: 'es2018',\n      },\n    }),\n  ],\n}\n```\n\n## Options\n\nThe plugin takes all the [SWC options](https://swc-project.github.io/docs/configuring-swc) except the `filename`. \n\nIn addition to the above `SWC Options`, it takes following options for smoother integration with the `rollup` plugin convention:\n\n### `rollup.exclude`\n\nType: `String` | `Array[...String]`<br>\nDefault: `null`\n\nA [minimatch pattern](https://github.com/isaacs/minimatch), or array of patterns, which specifies the files in the build the plugin should _ignore_. By default no files are ignored.\n\n### `rollup.include`\n\nType: `String` | `Array[...String]`<br>\nDefault: `null`\n\nA [minimatch pattern](https://github.com/isaacs/minimatch), or array of patterns, which specifies the files in the build the plugin should operate on. By default all files are targeted.\n\n## License\n\n[MIT](LICENSE) © [Petr Tsymbarovich](mailto:petr@tsymbarovich.ru)\n\n","readmeFilename":""}