Closed itswillta closed 3 years ago
Currently, the main.js file has different a name every time we build each SPA because Webpack inserts a random hash to the file in production mode. We need to find a way to extract the main.js from within the index.html file, and then load it.
main.js
index.html
Currently, the
main.js
file has different a name every time we build each SPA because Webpack inserts a random hash to the file in production mode. We need to find a way to extract themain.js
from within theindex.html
file, and then load it.