diff --git a/package.json b/package.json index a94b509e62..17dd5ab662 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue-cli-template-webpack", - "version": "1.2.0", + "version": "1.2.1", "license": "MIT", "description": "A full-featured Webpack setup with hot-reload, lint-on-save, unit testing & css extraction.", "scripts": { diff --git a/template/config/index.js b/template/config/index.js index 0cda76ec6c..51659f0c27 100644 --- a/template/config/index.js +++ b/template/config/index.js @@ -1,6 +1,5 @@ - 'use strict' -// Template version: 1.2.0 +// Template version: 1.2.1 // see http://vuejs-templates.github.io/webpack for documentation. const path = require('path') @@ -23,15 +22,15 @@ module.exports = { // Use Eslint Loader? // If true, your code will be linted during bundling and - // linting errors and warings will be shown in the console. + // linting errors and warnings will be shown in the console. useEslint: true, - // If true, eslint errors and warings will also be shown in the error overlay + // If true, eslint errors and warnings will also be shown in the error overlay // in the browser. showEslintErrorsInOverlay: false, /** * Source Maps - */ + */ // https://webpack.js.org/configuration/devtool/#development devtool: 'eval-source-map', @@ -46,7 +45,7 @@ module.exports = { // (https://github.com/webpack/css-loader#sourcemaps) // In our experience, they generally work as expected, // just be aware of this issue when enabling this option. - cssSourceMap: false, + cssSourceMap: false, }, build: { @@ -59,8 +58,9 @@ module.exports = { assetsPublicPath: '/', /** - * SourceMap - */ + * Source Maps + */ + productionSourceMap: true, // https://webpack.js.org/configuration/devtool/#production devtool: '#source-map', diff --git a/template/package.json b/template/package.json index fc75156633..4c6d0cbcea 100644 --- a/template/package.json +++ b/template/package.json @@ -97,6 +97,7 @@ "nightwatch": "^0.9.12", "selenium-server": "^3.0.1", {{/e2e}} + "postcss-loader": "^2.0.8", "semver": "^5.3.0", "shelljs": "^0.7.6", "optimize-css-assets-webpack-plugin": "^3.2.0", @@ -127,6 +128,7 @@ }, "setupFiles": ["/test/unit/setup"], "mapCoverage": true, + "coverageDirectory": "/test/unit/coverage", "collectCoverageFrom" : [ "src/**/*.{js,vue}", "!src/main.js",