From 47384305da0ab39856ba43c781b158bdc19178e6 Mon Sep 17 00:00:00 2001 From: Clark Du Date: Tue, 14 Nov 2017 11:14:37 +0800 Subject: [PATCH] fix: assets is not resolved in / src --- lib/builder/webpack/vue-loader.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/builder/webpack/vue-loader.config.js b/lib/builder/webpack/vue-loader.config.js index 72f431f5c0..c5b608b6cf 100644 --- a/lib/builder/webpack/vue-loader.config.js +++ b/lib/builder/webpack/vue-loader.config.js @@ -23,7 +23,9 @@ export default function vueLoader() { }, transformToRequire: { video: 'src', - source: 'src' + source: 'src', + object: 'src', + embed: 'src' } }