1.0.0 • Published 6 years ago
inject-content-webpack-plugin v1.0.0
inject-content-webpack-plugin
提供访问webpack输出文件内容接口, 可以注入相应代码或者修改输出内容.
npm i inject-content-webpack-plugin -D
example
plugins: [
new InjectPlugin({
inject: content => `${content};console.log("inject console.log code success !")`
})
]
1.0.0
6 years ago