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