Skip to content

Commit 3431a15

Browse files
mafintoshgoto-bus-stop
authored andcommitted
add hui/html (#146)
* add hui/html * add hui/html to babel code
1 parent d529c14 commit 3431a15

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/babel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function removeBindingImport (binding) {
4949

5050
module.exports = (babel) => {
5151
const t = babel.types
52-
const nanohtmlModuleNames = ['nanohtml', 'bel', 'yo-yo', 'choo/html']
52+
const nanohtmlModuleNames = ['nanohtml', 'bel', 'yo-yo', 'choo/html', 'hui/html']
5353

5454
/**
5555
* Returns an object which specifies the custom elements by which a built-in is extended.

lib/browserify-transform.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ var acorn = require('acorn')
77
var path = require('path')
88
var SVG_TAGS = require('./svg-tags')
99

10-
var SUPPORTED_VIEWS = ['nanohtml', 'bel', 'yo-yo', 'choo', 'choo/html']
10+
var SUPPORTED_VIEWS = ['nanohtml', 'bel', 'yo-yo', 'choo', 'choo/html', 'hui/html']
1111
var DELIM = '~!@|@|@!~'
1212
var VARNAME = 'nanohtml'
1313
var SVGNS = 'http://www.w3.org/2000/svg'

0 commit comments

Comments
 (0)