diff --git a/build/url.js b/build/url.js index c5c152a..b5fec85 100644 --- a/build/url.js +++ b/build/url.js @@ -3,6 +3,6 @@ module.exports = Object.assign( require("rollup-plugin-node-polyfills/polyfills/url.js"), { pathToFileURL: (path)=> { return `file:///${encodeURIComponent(path)}` }, - fileURLToPath: (fileURL)=> { return decodeURIComponent(fileURL.repalce(/^file:\/\/\//, '')) } + fileURLToPath: (fileURL)=> { return decodeURIComponent(fileURL.replace(/^file:\/\/\//, '')) } } )