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;
{
// Source files directory name
sourceDir: 'js',
// Directory name where the JS file(s) will be outputted
buildDir: 'js',
// Entry point(s)
entrypoints: 'index.js',
}