An open API service indexing awesome lists of open source software.

https://github.com/lwdgit/fis3-hook-cmdpack

A fis3 plugin to wrap cmd to amd & DO NOT NEED require.js
https://github.com/lwdgit/fis3-hook-cmdpack

Last synced: 4 months ago
JSON representation

A fis3 plugin to wrap cmd to amd & DO NOT NEED require.js

Awesome Lists containing this project

README

          

# fis3-hook-cmdpack

> 一个自动将cmd模块打包成amd模块,且**无需引入模块加载器**(如require)的插件(FIS3 Only)。

#usage

```javascript
//fis-conf.js
fis.hook('cmdpack');
fis.match('modules/**', {
cmdpack: true,
packTo: 'bundle.js'
});

fis.match('cal.js', {
packOrder: -100
});

```

#example

See [example](https://github.com/lwdgit/fis3-hook-cmdpack/tree/master/example).