Commit a88a93d2 by xiawei

开始sourceMap调试

parent 37777e8c
......@@ -106,8 +106,11 @@ export default {
publicPath: process.env.run_server
? `//static-${process.env.run_server}.guangdianyun.tv/live/${version}`
: `/${BUILD_DIST.toLowerCase()}/`,
extend(config, ctx) {
// console.log(ctx);
extend(config, { isClient }) {
// 为 客户端打包 进行扩展配置
if (isClient) {
config.devtool = 'eval-source-map';
}
},
analyze: false,
maxChunkSize: 300000,
......
<!--
* @Author: your name
* @Date: 2020-09-14 16:53:49
* @LastEditTime: 2020-10-20 10:58:26
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: /consoles_program/Users/xiawei/gdy/web-live/views/_id.vue
-->
<template>
<page-view v-if="status == 200 && channelInfo.id" :isMobile="isMobile" />
<state v-else />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment