mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-04 22:16:08 +00:00
update karma config
This commit is contained in:
@@ -27,9 +27,16 @@ module.exports = function(config) {
|
||||
'app/assets/javascripts/admin/util.js.erb'
|
||||
],
|
||||
|
||||
preprocessors: {
|
||||
'**/*.coffee': ['coffee']
|
||||
},
|
||||
|
||||
coffeePreprocessor: {
|
||||
options: {
|
||||
sourceMap: true
|
||||
},
|
||||
transformPath: function(path) {
|
||||
return path.replace(/\.coffee$/, '.js');
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user