Bundling for production
So far we've just been working in development mode for this app, so how can we make this
work for production?
Well first thing we want to do is quit our local server, go to our environment file and
change node environment over to production like that.
Now, since we're no longer running the Webpack Dev server, we need to actually build our
files with Webpack and I provided a script for that already in the package.json called
build, so if you run NPM run build like so
Click to load comments...