https://github.com/ufologist/svrx-plugin-babel
svrx plugin for babel
https://github.com/ufologist/svrx-plugin-babel
babel svrx svrx-plugin
Last synced: about 2 months ago
JSON representation
svrx plugin for babel
- Host: GitHub
- URL: https://github.com/ufologist/svrx-plugin-babel
- Owner: ufologist
- License: mit
- Created: 2020-03-18T05:56:29.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T16:31:38.000Z (over 2 years ago)
- Last Synced: 2024-04-25T19:42:30.814Z (about 1 year ago)
- Topics: babel, svrx, svrx-plugin
- Language: JavaScript
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# svrx-plugin-babel
[![NPM version][npm-image]][npm-url] [![Known Vulnerabilities][vulnerabilities-status-image]][vulnerabilities-status-url] [![changelog][changelog-image]][changelog-url] [![license][license-image]][license-url]
[vulnerabilities-status-image]: https://snyk.io/test/npm/svrx-plugin-babel/badge.svg
[vulnerabilities-status-url]: https://snyk.io/test/npm/svrx-plugin-babel
[npm-image]: https://img.shields.io/npm/v/svrx-plugin-babel.svg?style=flat-square
[npm-url]: https://npmjs.org/package/svrx-plugin-babel
[license-image]: https://img.shields.io/github/license/ufologist/svrx-plugin-babel.svg
[license-url]: https://github.com/ufologist/svrx-plugin-babel/blob/master/LICENSE
[changelog-image]: https://img.shields.io/badge/CHANGE-LOG-blue.svg?style=flat-square
[changelog-url]: https://github.com/ufologist/svrx-plugin-babel/blob/master/CHANGELOG.md[](https://npmjs.com/package/svrx-plugin-babel)
[svrx](https://github.com/x-orpheus/svrx) plugin for [Babel](https://babeljs.io)
transform js/json file content on the fly
## Usage
> **please confirm you have [installed svrx](https://github.com/x-orpheus/svrx) already**
```shell
npm i @svrx/cli -g
```Install `svrx-plugin-babel`
```shell
npm i svrx-plugin-babel save-dev
``````javascript
// .svrxrc.js
module.exports = {
plugins: [
'babel'
]
};
```[插件的使用](https://docs.svrx.io/zh/plugin/usage.html)