{"_id":"55fd9c6e56d6990d00a6caa8","user":"54d64e31276f8e0d00feab94","category":{"_id":"55fd9c6e56d6990d00a6caa0","version":"55fd9c6d56d6990d00a6ca9d","__v":1,"project":"54d64e6b276f8e0d00feab95","pages":["55fd9c6e56d6990d00a6caa1","55fd9c6e56d6990d00a6caa2","55fd9c6e56d6990d00a6caa3","55fd9c6e56d6990d00a6caa4","55fd9c6e56d6990d00a6caa5","55fd9c6e56d6990d00a6caa6","55fd9c6e56d6990d00a6caa7","55fd9c6e56d6990d00a6caa8"],"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-02-07T18:14:40.771Z","from_sync":false,"order":2,"slug":"your-application","title":"Your Application"},"project":"54d64e6b276f8e0d00feab95","__v":1,"version":{"_id":"55fd9c6d56d6990d00a6ca9d","project":"54d64e6b276f8e0d00feab95","__v":1,"createdAt":"2015-09-19T17:33:33.368Z","releaseDate":"2015-09-19T17:33:33.368Z","categories":["55fd9c6e56d6990d00a6ca9e","55fd9c6e56d6990d00a6ca9f","55fd9c6e56d6990d00a6caa0"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.4.0","version":"1.4.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-02-07T17:55:37.290Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":6,"body":"When you are ready to publish your application, you can build it, which will do the following:\n\n* Compile ES6 and Sass\n* Inject variables from production environment\n* Optimize images\n* Concatenate files\n* Add CSS prefixes for last two browser versions\n* Minify JS, HTML and CSS\n* ngAnnotate\n* Add revision for each file for cache-busting\n* Output all of this to `/dist` folder\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"$ kick bundle\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]\nAdditionally, you can build application for a specific environment:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"$ kick bundle --development\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]\nSee [Environments](doc:environments) for more information","excerpt":"","slug":"production-build","type":"basic","title":"Production Build"}
When you are ready to publish your application, you can build it, which will do the following: * Compile ES6 and Sass * Inject variables from production environment * Optimize images * Concatenate files * Add CSS prefixes for last two browser versions * Minify JS, HTML and CSS * ngAnnotate * Add revision for each file for cache-busting * Output all of this to `/dist` folder [block:code] { "codes": [ { "code": "$ kick bundle", "language": "shell" } ] } [/block] Additionally, you can build application for a specific environment: [block:code] { "codes": [ { "code": "$ kick bundle --development", "language": "shell" } ] } [/block] See [Environments](doc:environments) for more information