打包提示 - configuration.output.path: The provided value "./dist/js" is not an absolute path!的错误

你安装的应该是webpack的2.x 版本。需要require('path")

var path = require("path")

path: path.resolve(__dirname, './dist'),

posted @   松歌  阅读(517)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示