aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/webpack.base.conf.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/build/webpack.base.conf.js b/build/webpack.base.conf.js
index d7ff9b9a..f442b2a0 100644
--- a/build/webpack.base.conf.js
+++ b/build/webpack.base.conf.js
@@ -61,6 +61,16 @@ module.exports = {
{
test: /\.vue$/,
loader: 'vue-loader',
+ options: {
+ compilerOptions: {
+ isCustomElement(tag) {
+ if (tag === 'pinch-zoom') {
+ return true
+ }
+ return false
+ }
+ }
+ }
},
{
test: /\.jsx?$/,