拷贝html目录,Webpack.config如何将index.html复制到dist文件夹-CSDN博客

网站介绍:我试图自动化资产进入/ dist。我有以下config.js:module.exports = {context: __dirname + "/lib",entry: {main: ["./baa.ts"]},output: {path: __dirname + "/dist",filename: "foo.js"},devtool: "source-map",module: {loaders: ..._html如何导入dist