管理资源
// webpack.config.js const path = require('path'); module.exports = { entry: './src/index.js', // 入口 output: { filename: 'bundle.js', path: path.resolve(__dirname, 'dist') } };
详细的参考webpack配置