# fis3-parser-atom-tmp

> atom fis3 编译插件

Latest version **1.0.1** (published 2017-09-27) · ISC license · 0 weekly downloads

## Install

```sh
npm install fis3-parser-atom-tmp
pnpm add fis3-parser-atom-tmp
yarn add fis3-parser-atom-tmp
bun add fis3-parser-atom-tmp
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2017-09-27 |
| First published | 2017-09-27 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | kaivean |

## Links

- npm: https://www.npmjs.com/package/fis3-parser-atom-tmp
- Repository: https://github.com/jinzhubaofu/fis3-parser-atom
- Homepage: https://github.com/jinzhubaofu/fis3-parser-atom#readme
- Issues: https://github.com/jinzhubaofu/fis3-parser-atom/issues
- npm.io page: https://npm.io/package/fis3-parser-atom-tmp

## Dependencies (3)

- [less](https://npm.io/package/less.md) ^2.7.2
- [vip-server-renderer](https://npm.io/package/vip-server-renderer.md) ^1.0.20
- [less-plugin-autoprefix](https://npm.io/package/less-plugin-autoprefix.md) ^1.5.1

## Recent versions

- 1.0.1 (latest) — 2017-09-27

## README

# fis3-parser-atom

atom fis3 编译插件

## Setup

全局安装

```sh
npm install -g fis3-parser-atom
```

本地安装

```sh
npm install -D fis3-parser-atom
```

## Usage

在你的 `fis-conf.js` 中添加以下配置：

```js
fis.match('(**)/(*).atom', {
    isMod: true,
    // fis3 不支持多重后缀，即不支持 .atom.js，只能写 js；
    rExt: 'js',
    // 由于上边不支持多重后缀，所以我们这里 release 的时候加上后缀
    release: '$1/$2.atom.js',
    useSameNameRequire: true,
    // 这里极为关键，不加 isJsLike 就不把我们当 js 处理了；
    isJsLike: true,
    // 输出为 commonjs 模块，这里可以按需要来指定 mode，支持 commonjs / amd / umd / global；
    parser: fis.plugin('atom', {mode: 'commonjs'})
});
```

---
_Source: https://npm.io/package/fis3-parser-atom-tmp · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
