UNPKG

@mpxjs/webpack-plugin

Version:

mpx compile core

24 lines (22 loc) 444 B
const TAG_NAME = 'web-view' module.exports = function () { return { test: TAG_NAME, web (tag, { el }) { el.isBuiltIn = true return 'mpx-web-view' }, ios (tag, { el }) { el.isBuiltIn = true return 'mpx-web-view' }, android (tag, { el }) { el.isBuiltIn = true return 'mpx-web-view' }, harmony (tag, { el }) { el.isBuiltIn = true return 'mpx-web-view' } } }