I can succesfully run the webpack truffle box on my webserver, but if I try to run a DApp which I made by using the pet-shop truffle box as template, I can only use it on localhost. When I upload the /build and /src folders to the webserver, after compiling and migrating to kovan, the only thing I get is my index.html page... Same goes if I publish to IPFS.
I am not able to use webpack within my pet-shop based DApp, I get (locally):
$ webpack The CLI moved into a separate package: webpack-cli. Please install 'webpack-cli' in addition to webpack itself to use the CLI. -> When using npm: npm install webpack-cli -D -> When using yarn: yarn add webpack-cli -D
I already installed the webpack-cli globally, but nothing to do. I also tried to re-compile my DApp's contracts within the webpack box, migrate them to kovan, copied all required files and ran npm run build (which compiles...), but nothing to do.
Any help would be higly appreciated