gulp-nim:Gulp插件来编译Nim文件

时间:2021-02-02 22:59:29
【文件属性】:
文件名称:gulp-nim:Gulp插件来编译Nim文件
文件大小:32KB
文件格式:ZIP
更新时间:2021-02-02 22:59:29
gulp gulp-plugin nim nim-lang NimJavaScript gulp-nim Gulp插件来编译文件。 安装 npm i -D gulp-nim 用法 gulpfile.js const { src , dest } = require ( 'gulp' ) const nim = require ( 'gulp-nim' ) exports . default = function ( ) { return src ( './src/nim/app.nim' ) . pipe ( nim ( { d : 'release' , opt : 'size' , colors : true , skipCfg : '' } ) ) . pipe ( dest ( './script' ) ) } gulpfile.ls (LiveScript) require ! { gulp : { src , dest } \gulp-nim } export defaul t : -> src " ./src/nim/app.nim " .pipe gulp-nim { d : \release , opt :
【文件预览】:
gulp-nim-master
----package.json(731B)
----LICENSE(11KB)
----package-lock.json(119KB)
----main.js(2KB)
----.gitignore(38B)
----README.md(1KB)

网友评论