Disable source maps (for now). Re-enable Session.clear().
parent
a4f0b0b2ff
commit
321eae3791
|
@ -37,11 +37,10 @@ export namespace Session {
|
|||
|
||||
/** Clear localStorage and sessionStorage. */
|
||||
export function clear(): never {
|
||||
// localStorage.clear();
|
||||
// sessionStorage.clear();
|
||||
// location.assign(window.location.origin || "/");
|
||||
throw new Error("WIP");
|
||||
// return undefined as never;
|
||||
localStorage.clear();
|
||||
sessionStorage.clear();
|
||||
location.assign(window.location.origin || "/");
|
||||
return undefined as never;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -68,7 +68,8 @@ namespace :api do
|
|||
"--public-url /dist",
|
||||
"--hmr-hostname #{ENV.fetch("API_HOST")}",
|
||||
"--hmr-port 3808",
|
||||
"--log-level 5",
|
||||
# https://github.com/parcel-bundler/parcel/issues/2599#issuecomment-459131481
|
||||
"--no-source-maps",
|
||||
].join(" ")
|
||||
puts "=== Running: \n#{cli}"
|
||||
sh cli
|
||||
|
|
Loading…
Reference in New Issue