Use cheap-module-source-map

This commit is contained in:
Sebastien Chopin 2017-04-14 16:31:31 +02:00
parent e2ad6517e2
commit b5330a063d

View File

@ -16,7 +16,7 @@ import { isUrl, urlJoin } from '../utils'
export default function ({ isClient, isServer }) { export default function ({ isClient, isServer }) {
const nodeModulesDir = join(__dirname, '..', 'node_modules') const nodeModulesDir = join(__dirname, '..', 'node_modules')
let config = { let config = {
devtool: (this.dev ? 'cheap-module-eval-source-map' : false), devtool: (this.dev ? 'cheap-module-source-map' : false),
entry: { entry: {
vendor: ['vue', 'vue-router', 'vue-meta'] vendor: ['vue', 'vue-router', 'vue-meta']
}, },