JSPM

gulp-marko-render

1.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q31946F
  • License MIT

A Gulp plugin for Marko template engine.

Package Exports

  • gulp-marko-render

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gulp-marko-render) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

gulp-rev

A Gulp plugin for Marko template engine.

Install

$ npm install --save-dev gulp-marko-render

Usage

const gulp = require('gulp');
const markoRender = require('gulp-marko-render');

gulp.task('default', () =>
    gulp.src('src/*.marko')
        .pipe(markoRender())
        .pipe(gulp.dest('dist'))
);

With Marko Options

const gulp = require('gulp');
const markoRender = require('gulp-marko-render');

gulp.task('default', () =>
    gulp.src('src/*.marko')
        .pipe(markoRender({
            writeToDisk: false,
            preserveWhitespace: true,
            ext: "html"
        }))
        .pipe(gulp.dest('dist'))
);