0
成功运行grunt concat以将所有节点js文件连接成单个文件后,使用“$ node bundle”运行文件时出现错误。 js“,说它找不到模块”./config.js“问题使用Grunt with grunt-contrib-concat with node require和module.exports
原始文件中: var config = require('./ config.js'); //做一些配置。
在包文件时,它粘贴config.js的内容到包文件,然后执行“无功配置=需要(” ./ config.js);
但显然这不是要在相同的位置......没有CONCAT应该把所有的模块在同一个文件?
我使用CONCAT与繁重的错?