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