![Forrest logo](/images/logo.png)
ember:tldr:3c6e7
The ember build
command is used in the Ember.js framework to compile the application's source code into a production-ready build.
When you run ember build
, Ember.js takes the files and directories from your application's source code and processes them to convert them into a static build. This build contains optimized and minified files that are ready for deployment on a web server.
The ember build
command generates several files and directories, such as the JavaScript and CSS files, and puts them in a dist/
directory by default. This dist/
directory can then be deployed to a web server to serve the Ember.js application to users.
The ember build
command also supports different output formats and options to customize the build process. For example, you can specify the environment you want to build for, such as development, production, or testing. Additionally, you can enable/disable features like asset fingerprinting, which appends a hash to the filenames for cache-busting purposes.
By running ember build
during development and before deploying your application, you ensure that all the necessary files are properly compiled and prepared for deployment, resulting in a more optimized and performant application.