Gets configuration from file. Based on config
configuration object
Setups YASSB. After getting the configuration copies the renderers to the RENDERERS_STORE
store. Then it cals workingDirSetter
and langSetter
to set respectively the folders of the project and the languages.
yassbConfig
returns the configuration object so it can be used by build and watch.
Set the working dir based on the default values or the values passed in the configuration.
the values for the workingDir option passed in the ocnfiguration.
whether to skip the creation of out
folders and assets. Used to create a new project.
Constant to store the paths to the assets of the project to elaborate
Contains all the files processed by YASSB
Website assets. It's cloned in out
. Scripts and Styles are also placed here
Root folder of the project
Contains HTML files with fragments to be injected into pages (e.g. footer
)
Contains the JSON files with the data to generate iterable items
Contains the localization files ([lang].json) with translation strings
Destination dir of the compiled project - defaults to dist/public
HTML pages of the web site (excluded those to be generated automatically)
HTML templates to be used when creating pages from .md files
ALIAS of app
, default entry point for the user-defined folder in the generate-from-files
directive.
Entry file to be processd by webpack. Can end with: .js
| .ts
Destination dir of minified JS file, retains the same name of the entry file + version + min.js
Container the whole YASSB project
Entry file to be processd by node-sass. Can end with: .css
| .scss
Destination di of minified css file, retains the same name of the entry file + version + min.css
Array of the built-in directives that can be invoked in the forEach loop in DirectivesInvoker.
DirectivesInvoker