為什么打包失敗了
照著步驟來執(zhí)行命令還是失敗了,
D:\Work\webpack-demo>webpack
Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
?- configuration.output.path: The provided value "./dist/js" is not an absolute path!
? ?-> The output directory as **absolute path** (required).
2020-08-26
這樣寫就好了