TramwayJS

Build

The build command will use Babel to transpile your cutting-edge Javascript code to versions NodeJS or browsers can execute.

You can also add the command to your package.json scripts to continue using the familiar hooks like npm run build.

Example

tramway build

Options

ArgumentCommand TypeTypeDefaultRequiredComments
watchoptionbooleanfalsenoAutomatically build upon changes
sourceMapoptionbooleanfalsenoGenerate a source map upon build

Result

Once completed, the final executable code will be located in the dist folder.