From 9c1d7da52e13ac239a348733eb6cb858eba3adb2 Mon Sep 17 00:00:00 2001 From: Vasco Santos Date: Mon, 29 Mar 2021 21:44:12 +0200 Subject: [PATCH] chore: update parcel --- .gitignore | 1 + examples/libp2p-in-the-browser/package.json | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 61b3b5aa3d..69f5439f9c 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ docs test/repo-tests* **/bundle.js .cache +.parcel-cache # Logs logs diff --git a/examples/libp2p-in-the-browser/package.json b/examples/libp2p-in-the-browser/package.json index 5a93afd81a..51e42894a5 100644 --- a/examples/libp2p-in-the-browser/package.json +++ b/examples/libp2p-in-the-browser/package.json @@ -2,13 +2,13 @@ "name": "libp2p-in-browser", "version": "1.0.0", "description": "A libp2p node running in the browser", - "main": "index.js", + "main": "dist/index.html", "browserslist": [ "last 2 Chrome versions" ], "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "build": "parcel build index.html", + "build": "parcel build index.html --no-scope-hoist", "start": "parcel index.html" }, "keywords": [], @@ -29,6 +29,6 @@ "babel-plugin-syntax-async-functions": "^6.13.0", "babel-plugin-transform-regenerator": "^6.26.0", "babel-polyfill": "^6.26.0", - "parcel-bundler": "1.12.3" + "parcel": "next" } }