0
ozgurkovan created
Hi, in my localhost everthing works fine but when I deploy on Azure, Azure only get the "*.min.js" I think. Azure website can not get the full js codes. If I copy from *.js to *.min.js , it works like it should be. Also npm run build command is not working. 'npm ERR! missing script: build' and there is no build command in package.json file. How can I bundle and minify for azure?
3 Answer(s)
-
0
Fixed it. In bundleconfig.js file, It has to be shown input file for full js and as output file min.js. I added all of them and it works fine now. Thanks
-
0
Hi @ozgurkovan
Could you share your AspNet Zero version ? And the screenshot of running "npm run build" command ?
Thanks,
-
0