| 1 |
module.exports = Object.assign( |
| 2 |
{}, |
| 3 |
require("rollup-plugin-node-polyfills/polyfills/url.js"), |
| 4 |
{ |
| 5 |
pathToFileURL: (path)=> { return `file:///${encodeURIComponent(path)}` }, |
| 6 |
fileURLToPath: (fileURL)=> { return decodeURIComponent(fileURL.toString().replace(/^file:\/\/\//, '')) } |
| 7 |
} |
| 8 |
) |