Skip to content

Instantly share code, notes, and snippets.

@ray007
ray007 / jsUrlPoly.js
Last active December 19, 2023 04:22
URL polyfill for nativescript
// polyfill URL since that seems to not be done for nativescript
import { path } from "@nativescript/core";
import 'url-search-params-polyfill';
if (!global.URL) {
class URL {
constructor(sUrl, base) {
@ray007
ray007 / build.log
Last active June 30, 2020 12:43
webpack bundle / binary corruption problem
Preparing project...
Bundling application for entryPath .\app...
Hash: 21815df5bf54b41e1265
Version: webpack 4.27.1
Time: 30055ms
Built at: 2020-06-30 14:30:53
Asset Size Chunks Chunk Names
assets/splash.gif 17.9 KiB [emitted]
bundle.js 7.21 MiB bundle [emitted] bundle
fonts/MaterialIcons-Regular.ttf 125 KiB [emitted]