grunt-mfjs

grunt plugin for mfjs compiler

Usage no npm install needed!

<script type="module">
  import gruntMfjs from 'https://cdn.skypack.dev/grunt-mfjs';
</script>

README

grunt-mfjs

Grunt plugin for embedding new side effects into JavaScript.

Install

$ npm i --save-dev grunt-mfjs 

Usage

grunt.loadNpmTasks('grunt-mfjs');
grunt.initConfig({
  fmjs: {                       
    options: {
      moduleName: "monadish"
    },      
    dist: {
      files: {
        'dist/file.js': 'src/file.js'
      }
    }
  }
});
grunt.registerTask('default', ['mfjs']);

Options

Options reference is in @mfjs/compiler reference.

License

Copyright © 2016 Vitaliy Akimov

Distributed under the terms of the The MIT License (MIT).