{"_id":"@eklingen/esbuild-browserslist","_rev":"1-d792e9fa6a1ef417a56632e527603e81","name":"@eklingen/esbuild-browserslist","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@eklingen/esbuild-browserslist","version":"1.0.0","description":"Use Browserslist definition as ESBuild targets.","repository":{"type":"git","url":"git+https://github.com/eklingen/esbuild-browserslist.git"},"publishConfig":{"access":"public"},"author":{"name":"Elco Klingen"},"license":"MIT","homepage":"https://github.com/eklingen/esbuild-browserslist#readme","bugs":{"url":"https://github.com/eklingen/esbuild-browserslist/issues"},"keywords":["esbuild","browserslist","targets","conversion","plugin"],"main":"index.js","type":"module","packageManager":"yarn@4.1.1","dependencies":{"browserslist":"^4.23.0"},"_id":"@eklingen/esbuild-browserslist@1.0.0","gitHead":"f1c7cd25d57529ba188cc7d7938e6571d16428ec","_nodeVersion":"20.12.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-F4idPxYFiyBONGX2kTTGZnBe3gypT+6+YC0NSoG1bfBXRF32md/bKpUjP2g1v7CjlPSfV5ajH15beJbzsS3PBA==","shasum":"bcb52f5bf64eed6ab322cde7e244f50eeaf2c1ca","tarball":"https://registry.npmjs.org/@eklingen/esbuild-browserslist/-/esbuild-browserslist-1.0.0.tgz","fileCount":5,"unpackedSize":5709,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFAK42Qd8/1buNptRi+2CFE4Ks5Jrlj/TNPaAfC7goEpAiB6XvcxaANEV3/AYeykNVqOJsg4kbv1drf0mFI10KDCag=="}]},"_npmUser":{"name":"eklingen","email":"disillusion84@gmail.com"},"directories":{},"maintainers":[{"name":"eklingen","email":"disillusion84@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/esbuild-browserslist_1.0.0_1713903663777_0.79009933824575"},"_hasShrinkwrap":false},"1.0.1":{"name":"@eklingen/esbuild-browserslist","version":"1.0.1","description":"Use Browserslist definition as ESBuild targets.","repository":{"type":"git","url":"git+https://github.com/eklingen/esbuild-browserslist.git"},"publishConfig":{"access":"public"},"author":{"name":"Elco Klingen"},"license":"MIT","homepage":"https://github.com/eklingen/esbuild-browserslist#readme","bugs":{"url":"https://github.com/eklingen/esbuild-browserslist/issues"},"keywords":["esbuild","browserslist","targets","conversion","plugin"],"main":"index.js","type":"module","packageManager":"yarn@4.1.1","dependencies":{"browserslist":"^4.23.0"},"_id":"@eklingen/esbuild-browserslist@1.0.1","gitHead":"c3db0e64379e5629470048929166e3c24fc232e4","_nodeVersion":"20.12.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-EJ7qb33Pq3TywZmVGTMD3Kfcv0J5aCYPrMmi/zKwmuhkTIzsGUVzfIDOdBy0Yjuyt/iQGEvPxObiMFqIY3ju1g==","shasum":"8739651ff078d8f5a8eb93549f236bcd706e6778","tarball":"https://registry.npmjs.org/@eklingen/esbuild-browserslist/-/esbuild-browserslist-1.0.1.tgz","fileCount":5,"unpackedSize":5890,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCIVi9l2MFQ5MgeJXs5pFrDB5FW2e8cim4eeH4AFST6tQIgFiFYE/78wNXdm+rEvsqYaBDQDikkC8u9pLKNuGGjANE="}]},"_npmUser":{"name":"eklingen","email":"disillusion84@gmail.com"},"directories":{},"maintainers":[{"name":"eklingen","email":"disillusion84@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/esbuild-browserslist_1.0.1_1713905114731_0.09493665543490781"},"_hasShrinkwrap":false}},"time":{"created":"2024-04-23T20:21:03.703Z","1.0.0":"2024-04-23T20:21:03.969Z","modified":"2024-04-23T20:45:15.082Z","1.0.1":"2024-04-23T20:45:14.879Z"},"maintainers":[{"name":"eklingen","email":"disillusion84@gmail.com"}],"description":"Use Browserslist definition as ESBuild targets.","homepage":"https://github.com/eklingen/esbuild-browserslist#readme","keywords":["esbuild","browserslist","targets","conversion","plugin"],"repository":{"type":"git","url":"git+https://github.com/eklingen/esbuild-browserslist.git"},"author":{"name":"Elco Klingen"},"bugs":{"url":"https://github.com/eklingen/esbuild-browserslist/issues"},"license":"MIT","readme":"# ESBuild Browserslist\n\nUse Browserslist definition as ESBuild targets.\n\n## Usage\n\nAdd the function to the `target` field of your `esbuild.config.js`:\n\n```javascript\nimport getBrowserslistTargets from '@eklingen/esbuild-browserslist'\ntarget: getBrowserslistTargets(),\n```\n\nThis will make ESBuild use your `.browserslistrc` as the target definition, where possible.\n\n## Notes & caveats\n\n### 1. Unsupported target names\n\nThe following browserslist targets are NOT supported:\n`android`, `and_qq`, `and_uc`, `baidu`, `bb`, `kaios`, `op_mob` and `op_mini`.\n(for android, choose an equivalent target like \"chrome\", and for \"op_mob\" choose an equivalent target like \"opera\")\n\n### 3. Unsupported target versions\n\nThe following target versions are NOT supported:\n`all` and `TP` (as in `op_mob all` and `safari TP`).\n\n### 3. Supported targets\n\nThe following browserslist targets ARE supported:\n`chrome`, `edge`, `firefox`, `ie`, `opera`, `safari` and `samsung`.\n\n### 4. Targets mapped to equivalents\n\nThe following browserlist targets are mapped to equivalents with the same version number:\n`and_chr` to `chrome`, `and_ff` to `firefox`, `ie_mob` to `ie` and `ios_saf` to `safari`.\n\n### 5. Version ranges behavior\n\nFor minor versions or ranges (like `ios_saf 12.1-13.3`), the oldest version specified is used (`ios_saf 12`).\n\n### 6. Multiple versions behavior\n\nFor duplicate targets, only the oldest version is used.\n\n## Dependencies\n\nThis package requires [\"browserslist\"](https://www.npmjs.com/package/browserslist).\n\n---\n\nCopyright (c) 2024 Elco Klingen. MIT License.\n","readmeFilename":"README.md"}