0

My parcel bundler opens up in default MS edge but i want it open local host in firefox.

1 Answers1

2

Both work on Win10 and Linux Ubuntu 20.04. If you have parcel installed globally

In your root project folder enter the command(terminal)

 parcel --open firefox index.html

OR

If you have parcel installed locally than change your package.json

"scripts": {
    "dev": "parcel --open firefox index.html",
    "prod": "parcel build index.html"
  },

And hit in terminal npm run dev You are done ! :-) Good Luck and Best regards;-)

MarioG8
  • 5,122
  • 4
  • 13
  • 29