for dev and production are different(for production it\'s subfolder). What is the good way to build different base with webp
If you are using webpack, you will certainly have to set output.publicPath to the same value. See HtmlWebpackPlugin injects relative path files which breaks when loading non-root website paths
output.publicPath