美文网首页
低版本 webpack3.x 配置文件

低版本 webpack3.x 配置文件

作者: 小二儿上酒 | 来源:发表于2019-03-07 11:00 被阅读0次

    解决 低版本 下的配置

    package.json

    {
      "name": "webpacks",
      "version": "1.0.0",
      "description": "A Vue.js project",
      "private": true,
      "scripts": {
        "dev": "webpack-dev-server",
        "start": "npm run dev",
        "lint": "eslint --ext .js,.vue src",
        "build": "webpack"
      },
      "devDependencies": {
        "babel-core": "^6.26.0",
        "babel-loader": "^7.1.2",
        "babel-plugin-transform-decorators-legacy": "^1.3.4",
        "babel-plugin-transform-runtime": "^6.23.0",
        "babel-preset-env": "^1.6.1",
        "babel-preset-react": "^6.24.1",
        "babel-preset-stage-0": "^6.24.1",
        "babel-runtime": "^6.26.0",
        "css-loader": "^1.0.0",
        "file-loader": "^3.0.1",
        "html-webpack-plugin": "^3.2.0",
        "less": "^2.3.1",
        "less-loader": "^4.0.0",
        "style-loader": "^0.23.1",
        "url-loader": "^1.1.2",
        "vue": "^2.6.8",
        "vue-loader": "^14.2.0",
        "vue-template-compiler": "^2.5.16",
        "webpack": "3.11.0",
        "webpack-cli": "^3.0.2",
        "webpack-dev-middleware": "^1.12.0",
        "webpack-dev-server": "^2.2.1"
      }
    }
    

    相关文章

      网友评论

          本文标题:低版本 webpack3.x 配置文件

          本文链接:https://www.haomeiwen.com/subject/ejaqpqtx.html