├── .editorconfig ├── .gitignore ├── .prettierrc ├── license ├── package.json ├── readme.md └── src └── index.js /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = tab 5 | indent_size = 4 6 | end_of_line = lf 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true 10 | 11 | [*.yml] 12 | indent_style = space 13 | indent_size = 2 14 | 15 | [*.md] 16 | indent_style = space 17 | trim_trailing_whitespace = false -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | npm-debug.log 3 | yarn.lock 4 | package-lock.json 5 | .DS_Store 6 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "none", 4 | "arrowParens": "avoid", 5 | "printWidth": 90 6 | } 7 | -------------------------------------------------------------------------------- /license: -------------------------------------------------------------------------------- 1 | ISC License 2 | 3 | Copyright (c) Antoine Boulanger (https://github.com/ABXlink) 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 15 | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "esbuild-plugin-babel", 3 | "version": "0.2.3", 4 | "description": "Babel plugin for esbuild.", 5 | "repository": "nativew/esbuild-plugin-babel", 6 | "author": "Antoine Boulanger (https://github.com/antoineboulanger)", 7 | "license": "ISC", 8 | "exports": "./src/index.js", 9 | "main": "src/index.js", 10 | "type": "module", 11 | "scripts": { 12 | "format": "prettier --write --ignore-unknown '**/*'" 13 | }, 14 | "peerDependencies": { 15 | "@babel/core": "^7.0.0" 16 | }, 17 | "devDependencies": { 18 | "@babel/core": "7.13.10", 19 | "prettier": "^2.2.1" 20 | }, 21 | "files": [ 22 | "src" 23 | ], 24 | "keywords": [ 25 | "babel", 26 | "esbuild", 27 | "esbuild-plugin" 28 | ] 29 | } 30 | -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 |
2 | 3 | # esbuild-plugin-babel 4 | 5 | [Babel](https://github.com/babel/babel) plugin for [esbuild](https://github.com/evanw/esbuild). 6 | 7 |