html5-boilerplate icon indicating copy to clipboard operation
html5-boilerplate copied to clipboard

Webpack build for dist

Open roblarsen opened this issue 2 years ago • 1 comments

This will close #2650

roblarsen avatar Jul 16 '22 12:07 roblarsen

Remove me

Hopscotch8 avatar Aug 21 '22 06:08 Hopscotch8

Testing dev

git fetch 
git switch 2650-create-webpack-build-to-ship-with-the-project
npm install
npm run build
cd dist
npm install
npm run start

The webpack served files should now run, in a browser. Edit and the site should update automatically.

Testing the build is the same, set-up with the build command replacing start

npm run build

There should be a new dist folder with a Webpack optimized build. I test this folder using serve

roblarsen avatar Mar 10 '23 17:03 roblarsen

This does what I expect it to do (except for that merge conflict)

roblarsen avatar Mar 13 '23 20:03 roblarsen

And the failing build 😩

roblarsen avatar Mar 13 '23 20:03 roblarsen