Webpack

The build system for Lore

Verifying Production Build Locally

If we want to verify the production build of your application locally, you can do that easily using the serve package, which allows you to serve files from any folder you choose on your computer.

To install it, run this command:

npm install -g serve

Then generate a development build of the application using this command:

npm run build:development

Then tell serve to serve the files out of that directory using this command:

serve dist --port 3000

At this point you can navigate to localhost:3000 to view the production version of your application, but using the development configuration for the project.