Closed felippenardi closed 9 years ago
See 'Removing Tasks' on the lineman site: http://www.linemanjs.com/#removing-tasks
The task you want is uglify
and is part of the dist
phase (dev
is for lineman run
, dist
is for lineman build
and common
is for both).
@jasonkarns Thank you! There is another problem now
I added this snippet to config/application.js
:
removeTasks: {
dist: ["uglify"]
}
It successfully removed uglify, but it is not building the /js
folder anymore.
What is the task that builds the JS, just not minified?
Just solved this issue by replacing the previous snippet with:
uglify: {
options :
{
beautify: true
}
}
Glad you got to this before I did. I also would not remove uglify, I'd have gone your route (since you'd have to add a copy task after concat to replace the need to move from generated into dist
Hello,
I want to build with no minification. How does I ignore uglify on
lineman build
?