webpack命令報錯
要哭了,執(zhí)行命令webpack hello.js hello.bundle.js時報錯: ERROR in multi ./hello.js ./hello.bundle.js Module not found: Error: Can't resolve './hello.bundle.js' in '/Users/home/webpack-test' @ multi ./hello.js ./hello.bundle.js 請問是怎么回事呀?
要哭了,執(zhí)行命令webpack hello.js hello.bundle.js時報錯: ERROR in multi ./hello.js ./hello.bundle.js Module not found: Error: Can't resolve './hello.bundle.js' in '/Users/home/webpack-test' @ multi ./hello.js ./hello.bundle.js 請問是怎么回事呀?
2018-04-30
舉報
2021-02-09
非常棒,有用,這個視頻webpack版本是3.x,升級到4.X有在學(xué)習(xí)打包時遇到了不少問題.多謝回答
2018-04-30
因為現(xiàn)在的webpack版本已經(jīng)到了4.X了,而視頻教程用的版本確是3.X,所以會報錯,具體解決方案,請看https://blog.csdn.net/u012443286/article/details/79504289