i-darrshan's picture
initial_update
e08ecbf
raw
history blame
293 Bytes
const path = require('path');
// Mocks every media file to return its filename.
// Return just the file name without wrapping in an object
module.exports = {
process: (_, filename) => {
return `module.exports = '${path.basename(filename)}'`; // Return the filename as a string
},
};