gulp-vtex-render

0.5.0 • Public • Published

gulp-vtex-render Build Status

VTEX Render gulp plugin

Install

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

Usage

import gulp from 'gulp'
import babel from 'gulp-babel'
import vtexRender from 'gulp-vtex-render/dist/'
import manifest from './manifest.json'
 
gulp.task('render', function() {
  return gulp.src('./render/assets/**/*.js')
    .pipe(babel())
    .pipe(gulp.dest('./.build/render/assets'))
    .pipe(vtexRender({manifest: manifest}))
    .pipe(gulp.dest('./.build/render/components'))
})
 
gulp.task('default', ['render'])

API

vtexRender({parameters})

parameters

manifest

App JSON manifest

License

MIT © VTEX

Readme

Keywords

Package Sidebar

Install

npm i gulp-vtex-render

Weekly Downloads

8

Version

0.5.0

License

MIT

Last publish

Collaborators

  • mateuspontes
  • alexalves2501
  • brunojdo
  • carolinerpessoa
  • evertonataide
  • gtkatakura
  • vtexlab-user
  • breno
  • firstdoit
  • thor
  • kozlowaski