API Reference
Configuration File Winnetoujs package Constructos Mutables State Management Mutations Select Methods Winnetou Fx Router Translations Color Themes WBR Compiler
Docs Change Log Git Hub Pull Requests Guidelines Get in touch

WBR Compiler


∯ Purpose

Winnetou Bundle Releaser (WBR) is a nodejs app that transpiles and compiles WinnetouJs code. Run terminal at root of your project and run node wbr.

∯ Syntax

node wbr [options]

∯ Options

none

Just transpiles scss and constructos to vanilla javascript code in order to be possible to import web components in your code. It is an alias to node wbr -t but it can't be used with --no-watch option.

node wbr

--bundleRelease (-b)

This command will pack all your code into single minified javascript file. If you use asynchronous imports, some other files will be generated too. It run in development mode by default, watches file changes and generates source maps.

node wbr -b

--transpile (-t)

Transpile scss and constructos before compile code. It can be used with --no-watch option.

node wbr -t

--no-watch (-nw)

Disables watch behavior.

node wbr -b -nw

--production (-p)

Compile bundle with production behavior. Disables watch, disables source maps and uses XWin.

node wbr -b -p

--no-transpile (-nt)

Avoids transpile scss and constructos before compile code.

node wbr -b -nt

--help (-h)

Shows help.

node wbr -h

∯ XWin

XWin is a compiling method of WBR that uses many technologies to make build process more fast and efficient.

To active this method, use option --production when run wbr.