From a94d49f12a2741abcc6c4249eb67ccd7e9f8875b Mon Sep 17 00:00:00 2001 From: neverland Date: Fri, 30 Aug 2019 14:41:52 +0800 Subject: [PATCH] docs: avoid to load analytics in iframe (#4300) --- build/webpack.pkg.js | 2 -- docs/site/mobile/index.html | 17 ++++++++++------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/build/webpack.pkg.js b/build/webpack.pkg.js index f134385b5..214bcc1e5 100644 --- a/build/webpack.pkg.js +++ b/build/webpack.pkg.js @@ -3,8 +3,6 @@ const config = require('./webpack.dev.js'); const isMinify = process.argv.indexOf('-p') !== -1; -delete config.serve; - module.exports = Object.assign(config, { mode: 'production', entry: { diff --git a/docs/site/mobile/index.html b/docs/site/mobile/index.html index faee59fea..e0767fd10 100644 --- a/docs/site/mobile/index.html +++ b/docs/site/mobile/index.html @@ -10,13 +10,16 @@ Vant - 轻量、可靠的移动端 Vue 组件库