mirror of
https://github.com/scratchfoundation/scratch-storage.git
synced 2025-08-01 17:09:58 -04:00
11 lines
255 B
JavaScript
11 lines
255 B
JavaScript
|
module.exports = {
|
||
|
process (_sourceText, sourcePath) {
|
||
|
return {
|
||
|
code: [
|
||
|
'const fs = require("fs");',
|
||
|
`module.exports = fs.readFileSync('${sourcePath}');`
|
||
|
].join('\n')
|
||
|
};
|
||
|
}
|
||
|
};
|