@frontvue/plugin-js
v1.0.0
Published
FrontVue plugin for JavaScript boilerplate template and processing
Downloads
4
Maintainers
Readme
Frontvue-Plugin-JS
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',
}