build 后 static 里有 js 和 css 等文件,有没有打包命令可以把 static 打包进一个 html 文件里去?
build 后 static 里有 js 和 css 等文件,有没有打包命令可以把 static 打包进一个 html 文件里去?
|
thronsFeb 27, 2021 via iPhone
1
可以写个 gulp 脚本替换,看看这个文章 https://www.labnol.org/code/bundle-react-app-single-file-200514
|
|
EridanusSoraFeb 27, 2021 via Android
2
html-webpack-plugin
|