Now, Compatible with webpack 4
This sample project is optimized for the webpack 3.10.0.
(Not compatible with webpack 4)
The webpack is a great bundler application, but it's tricky to deal with.
This project shows how to combine a webpack with a Spring application.
It also makes HMR available.
In addition, there are scss, typescript, react and so on.
step 1.
SPRING_PROFILES_ACTIVE=production|development mvn spring-boot:run -Dprofile=production|development
step 2.
(npm install on initial)
npm start