akkoma-fe/src/lib/notification-i18n-loader.js

10 lines
203 B
JavaScript
Raw Normal View History

// This somewhat mysterious module
module.exports = function(source) {
var object = JSON.parse(source)
var smol = {
notifications: object.notifications || {}
}
return JSON.stringify(smol)
}