Skip to content

Repository files navigation

webvr

A simple compiler & bundler with building targets, and serve option with livereload.

demo

Requirements

  • node.js -v
  • npm -v

Upgrading Npm on mac

  • npm install npm@latest -g

Upgrading Npm on windows


Gulp CLI version 4.0.0

  • npm install gulp-cli -g

Install packages

  • npm install

Build, Serve & Watch

  • gulp

Build Only

  • gulp build

Build Specific Target

  • gulp build --target dist

Configuration

You can configure building targets, compilers and bundlers with an easy json configuration file.

As in the example gulpfile.config.json


gulpfile.config.json

gulpfile.config.json

├── targets
│   ├── browser
│   │   ├── compile
│   │   │   ├── bootstrap.scss
│   │   │   ├── main.scss
│   │   │   └── main.js
│   │   └── bundle
│   │       ├── vendors.css
│   │       └── vendors.js
│   └── dist
│       └── ...
└── options
    ├── tfs: false
    └── server
        ├── src: './',
        ├── port: 6001
        ├── fallback: 'index.html'
        ├── open: true
        ├── livereload: true
        └── directoryListing: false

Releases

Packages

Used by

Contributors

Languages