fis-parser-dependencies

0.3.0 • Public • Published

fis-parser-dependencies

A parser plugin for fis to copy or download dependencies.

settings

$ vi path/to/project/fis-conf.js

  • 通过 roadmap.path 局部配置
fis.config.merge({
    modules: {
        parser: { map: 'dependencies' }
        ...

then put dependency map into your project:

/project/whatever/dependencies.map

{
  "bundle": [
    {
      "from": "D:/x.properties",
      "to": "./source/x.properties",
      "overwrite": "true"
    },
    {
      "from": "http://gitlab.xxx.com/aj4g/tools/raw/master/aaa.txt",
      "to": "./source/b.txt",
      "overwrite": "true"
    },
    {
      "from": "http://gitlab.xxx.com/aj4g/tools/raw/master/bbb.png",
      "to": "./source/c.png",
      "overwrite": "true"
    }
  ]
}

Readme

Keywords

Package Sidebar

Install

npm i fis-parser-dependencies

Weekly Downloads

0

Version

0.3.0

License

MIT

Unpacked Size

4.91 kB

Total Files

4

Last publish

Collaborators

  • aj4g