I'm using grunt-concat to concatenate all my files into one js file, however it appears to only include the first, and last 3 files. Missing out 3 files.
我正在使用grunt-concat将我的所有文件连接成一个js文件,但它似乎只包含第一个和最后3个文件。丢失了3个文件。
The concat section of my gruntfile.js is as follows
我的gruntfile.js的concat部分如下
concat: {
options: {
stripBanners: true,
seperator: ';',
},
dist: {
src: [
'headers.js',
'otr/build/deb/salsa20.js',
'otr/build/deb/bigint.js',
'otr/build/deb/crypto.js',
'otr/build/dep/eventemitter.js',
'otr/build/otr.js',
'userscript.js'
],
dest: 'build/gmail-otr.js'
}
},
The build/gmail-otr.js
file only contains headers.js, eventemitter.js, otr.js & userscript.js
build / gmail-otr.js文件只包含headers.js,eventemitter.js,otr.js和userscript.js
Has anyone else had this problem before?
有没有其他人有此问题?
1 个解决方案
#1
1
Your paths are incorrect. The files you're missing are using deb
instead of dep
in their path, so the tool can't find them.
你的路径不正确。您丢失的文件在路径中使用deb而不是dep,因此该工具无法找到它们。
#1
1
Your paths are incorrect. The files you're missing are using deb
instead of dep
in their path, so the tool can't find them.
你的路径不正确。您丢失的文件在路径中使用deb而不是dep,因此该工具无法找到它们。