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" } }