优艾设计网

webpack不可以使用ES6的import和export,配置如下?

优艾设计网 https://www.uibq.com 2023-04-15 10:52 出处:网络 作者:PS百科
图片描述 { \"name\": \"webpack-sample-project\", \"version\": \"1.0.0\", \"description\": \"Sample webpack project\", \"scripts\": { \"start\": \"webpack\" }, \"author\": \"zhang\"优艾设计网_Photosho

图片描述

{ "name": "webpack-sample-project", "version": "1.0.0", "description": "Sample webpack project", "scripts": { "start": "webpack" }, "author": "zhang"优艾设计网_Photoshop交流, "license": "ISC", "devDependencies": { "babel-core": "^6.18.2", "babel-loader": "^6.2.7", "babel-preset-es2015": "^6.18.0", "babel-preset-es2016": "^6.16.0", "babel-preset-react": "^6.16.0", "json-loader": "^0.5.4", "webpack": "^1.12.9", "webpack-dev-server": "^1.16.2" } }


0

精彩评论

暂无评论...
验证码 换一张
取 消