mirror of
https://github.com/RabbyHub/Rabby.git
synced 2026-01-13 13:08:11 -05:00
11 lines
264 B
JavaScript
11 lines
264 B
JavaScript
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
const path = require('path');
|
|
|
|
module.exports = {
|
|
process(sourceText, sourcePath, options) {
|
|
return {
|
|
code: `module.exports = ${JSON.stringify(path.basename(sourcePath))};`,
|
|
};
|
|
},
|
|
};
|