From 0fc26b5286264521e3fb4929abd9dec105c15a78 Mon Sep 17 00:00:00 2001 From: Ayaka Hanaoka Date: Mon, 5 Oct 2020 20:08:04 +0900 Subject: [PATCH] repalce -> replace --- build/url.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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:\/\/\//, '')) } } )