Skip to content

FrontVue plugin for JavaScript boilerplate template and processing

License

Notifications You must be signed in to change notification settings

0vidiu/frontvue-plugin-js

Repository files navigation

Frontvue-Plugin-JS

Build Status codecov Commitizen friendly semantic-release

A Frontvue plugin for JavaScript boilerplate and processing

This plugin will be one of the available options to choose from when you configure a new project using Frontvue. It handles JavaScript ES6 files and comes with a boilerplate template (w.i.p). It comes with the following tasks:

  • js:config — registers a configuration questionnaire;
  • js:template — copies the JavaScript ES6 template;
  • js:clean — removes the build folder;
  • js:process — handles compiling of JS partials;
  • js:watch — starts listeners for changes in JS partials;

Default configuration

{
  // Source files directory name
  sourceDir: 'js',

  // Directory name where the JS file(s) will be outputted
  buildDir: 'js',

  // Entry point(s)
  entrypoints: 'index.js',
}