Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 891 Bytes

build-tools.md

File metadata and controls

18 lines (14 loc) · 891 Bytes

Build Tools

Metal.js uses ES6, and encourages developers to use ES6 to import it as well. This requires a build process for the code though, since ES6 features aren't fully supported by browsers yet. Besides that, there are other types of necessary build steps, like compiling templates such as soy or JSX.

Due to that, Metal.js also provides some tools to help with this build process, as well as other tools that may be helpful when developing the library, or with the library, such as watch, uglify, tests, lint, format, etc.

There are quite a few repos inside the metal org just for this. Some are babel plugins or presets, others are related to gulp tasks or CLI commands. The most important of these are gulp-metal and metal-cli.

↪ gulp-metal