@mpxjs/webpack-plugin
Version:
mpx compile core
20 lines (18 loc) • 380 B
JavaScript
const TAG_NAME = 'root-portal'
module.exports = function ({ print }) {
return {
test: TAG_NAME,
ios (tag, { el }) {
el.isBuiltIn = true
return 'mpx-root-portal'
},
android (tag, { el }) {
el.isBuiltIn = true
return 'mpx-root-portal'
},
harmony (tag, { el }) {
el.isBuiltIn = true
return 'mpx-root-portal'
}
}
}