mirror of
https://github.com/ansible/awx.git
synced 2026-05-13 20:37:39 -02:30
enable less sourcemaps, add cleanup for npm cmds run with --prefix
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
module.exports = {
|
||||
options: { force: true },
|
||||
static: 'static/*',
|
||||
coverage: 'coverage/*'
|
||||
coverage: 'coverage/*',
|
||||
tmp: '../../tmp'
|
||||
};
|
||||
|
||||
@@ -11,7 +11,10 @@ module.exports = {
|
||||
'client/legacy-styles/*.less',
|
||||
'client/src/**/*.less',
|
||||
]
|
||||
}]
|
||||
}],
|
||||
options: {
|
||||
sourceMap: true
|
||||
}
|
||||
},
|
||||
|
||||
prod: {
|
||||
@@ -23,7 +26,6 @@ module.exports = {
|
||||
},
|
||||
options: {
|
||||
compress: true,
|
||||
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user