Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fis3-parser-atom-tmp

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fis3-parser-atom-tmp

atom fis3 编译插件

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

fis3-parser-atom

atom fis3 编译插件

Setup

全局安装

npm install -g fis3-parser-atom

本地安装

npm install -D fis3-parser-atom

Usage

在你的 fis-conf.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'})
});

FAQs

Package last updated on 27 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc