7 lines
157 B
JavaScript
7 lines
157 B
JavaScript
const path = require('path')
|
|
|
|
module.exports = {
|
|
process (src, filename) {
|
|
return `module.exports = ${JSON.stringify(path.basename(filename))};`
|
|
}
|
|
}
|