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