附加资产webpack插件 动态地将资产添加到图 安装 $ npm install add-asset-webpack-plugin 用法 const AddAssetPlugin = require ( 'add-asset-webpack-plugin' ) ; module . exports = { // ... plugins : [ new AddAssetPlugin ( 'file.js' , ` console.log('This is a dynamically created file'); ` ) ] } ; API AddAssetPlugin(fil