mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
Use cheap-module-source-map
This commit is contained in:
parent
e2ad6517e2
commit
b5330a063d
@ -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']
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user