0.1.10 • Published 8 years ago
rikkei-module-compiler v0.1.10
Rikkei Module Compiler
=========
ES6 syntax compiler for VanilarJS. This is a package, not a framework. Supported:
- ES6 syntax.
- Babel syntax.
- Async / Await.
- Sass.
Installation
npm install --save rikkei-module-compiler
Configuration
The default config file is module.config.json.
Full config:
Usage
1.Create resources/assets/js/user/index.js
2.Create resources/assets/js/routes.js
3.Create resources/assets/js/app.js
4.Run command node_modules/.bin/rkcompile watch
Api
request: Global variable when module be called.request.params: Return all params.request.getParam(paramName): Return value of paramName.
Options
-f|--config_file: Running with other config file.-m|--minifier: Minimize compiled files.