ocrcc-chatbox/jest/fileTransform.js

7 lines
156 B
JavaScript
Raw Normal View History

2018-05-30 01:56:01 +00:00
const path = require('path')
module.exports = {
process(src, filename) {
return `module.exports = ${JSON.stringify(path.basename(filename))};`
},
}