Create a Production Optimised Build with create-elm-app

Flavio Corpa
InstructorFlavio Corpa
Share this video with your friends

Social Share Links

Send Tweet
Published 3 years ago
Updated 3 years ago

Now that our beautiful dashboard is complete, is time to produce a production ready build with create-elm-app, one of the biggest benefits of using it. You'll notice that it is running on production mode because the Elm Debugger won't show up anymore.

Instructor: [0:00] Now that our beautiful app is finished, we can stop the dev server and create an optimized build calling elm-app build.

[0:10] When it's done, we can go to cd build. Here, we have all the stuff. If we run the local server here, I have a very handy alias for that. We start the server, and now we will go to localhost:1234. We will see our production build being rendered.

[0:27] This code is optimized and minimized for production builds. You will notice that now the debugger for Elm no longer appears. This is how easy it is with create-elm-app to create a production-optimized build.

egghead
egghead
~ 6 minutes ago

Member comments are a way for members to communicate, interact, and ask questions about a lesson.

The instructor or someone from the community might respond to your question Here are a few basic guidelines to commenting on egghead.io

Be on-Topic

Comments are for discussing a lesson. If you're having a general issue with the website functionality, please contact us at support@egghead.io.

Avoid meta-discussion

  • This was great!
  • This was horrible!
  • I didn't like this because it didn't match my skill level.
  • +1 It will likely be deleted as spam.

Code Problems?

Should be accompanied by code! Codesandbox or Stackblitz provide a way to share code and discuss it in context

Details and Context

Vague question? Vague answer. Any details and context you can provide will lure more interesting answers!

Markdown supported.
Become a member to join the discussionEnroll Today