Answer the question
In order to leave comments, you need to log in
Grunt adds an extra blank line at the end of every file it receives. How to remove such behavior?
Hello. I am using grunt and the following packages:
"grunt": "^1.0.1",
"grunt-babel": "^6.0.0",
"grunt-contrib-concat": "^1.0.1",
"grunt-contrib-sass": "^1.0.0",
babel: {
dist: {
files: [
{
expand: true,
cwd: '_build/js/',
src: [
'app.core.js',
'app.util.*.js',
'*.js'
],
dest: 'dist/assets/js/app/plugins'
}
]
}
},
concat: {
app: {
files: {
'dist/assets/js/app/app.js': [
'dist/assets/js/app/plugins/app.core.js',
'dist/assets/js/app/plugins/app.util.*.js',
'dist/assets/js/app/plugins/*.js'
]
}
},
template: {
files: {
'dist/assets/js/template.js':[
'src/js/tamplate.js'
]
}
}
},
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question