How to configure jquery+bootstrap multi-page using webpack?

as mentioned, both jquery and bootstrap are used globally
project src directory will be pages folder, pages folder will contain about/ (about.html,about.js,about.less) and so on, and then hope the structure generated by packaging will be

.
dist/
|
__ js/
|
__ css/(reset.css,css)
|
__ public/()
|
__ index.html
|
__ about.html
|
__ ....html

of course, it would be better if you could use eslint, babel and devServer

Jul.27,2021

Hello, landlord! I happen to have this scaffolding. Please refer to Portal . If you can solve your problem, please click to adopt . Thank you ~

Menu