Can we somehow achieve or build a canister with a interface bahaving like a classic web server

I am facing a error when dfx deploy, do you know what cause the error.

ERROR in ic:canisters/supplier
Module build failed: UnhandledSchemeError: Reading from “ic:canisters/supplier” is not handled by plugins (Unhandled scheme).
Webpack supports “data:” and “file:” URIs by default.
You may need an additional plugin to handle “ic:” URIs.