As it is suggested in the documentation:
If you put a file into the public folder, it will not be processed by webpack. Instead, it will be copied into the build folder untouched.
It's better to put these kinds of files into the public
folder in order not to be engaged with FileLoader
of Webpack on the build process, however, you can also use the assets folder but webpack
will consider them as assets and will add a chunk hash
at the end and put the reference in the bundle
which will be created.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…