猿问

webpack打包错误

Administrator@0EY8ABBZY94NN0X MINGW64 /f/mmall/doc/mmall-fe (mmall_v1.0)

$ webpack ./src/page/index/index.js ./dist/app.js

Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.

 - configuration.output.path: The provided value "./app.js" is not an absolute path!

   -> The output directory as **absolute path** (required).


灬似水逍遥
浏览 1279回答 1
1回答

橋本奈奈未

这不是写的很清楚吗,webpack的配置有问题,output的path需要是绝对路径
随时随地看视频慕课网APP
我要回答