Phaser3 build issue

I have on issue in phaser3 build
This is the command “npm run build”
After build I run the file in browser, its shows the below error:
**

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at file:///Applications/XAMPP/htdocs/Phaser3/Sample/build/Bg.png. (Reason: CORS request not http)

**
How to solve this issue?

Even if you bundle/build you project, you still need a web server to serve your files. Please have a look at live-server.

Without Plugin is there any chances to rectify this error

No.

And it’s not a plugin it’s a webserver.

The Getting Started guide explains why it’s necessary.