fix rollup bug

This commit is contained in:
张磊 2018-10-25 10:33:25 +08:00
parent 397a1d32ca
commit cedc0f1bc8
2 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,6 @@
import { WeElement, tag } from 'omi'
import { WeElement, define } from 'omi'
import Transform from 'css3transform'
@tag('css3-transform')
class CSS3Transform extends WeElement {
install() {
@ -28,4 +27,6 @@ class CSS3Transform extends WeElement {
render(props) {
return props.children[0]
}
}
}
define('css3-transform', CSS3Transform)

View File

@ -1,6 +1,6 @@
{
"name": "omi-transform",
"version": "2.0.0",
"version": "2.0.1",
"description": "Omi / css3transform integration. Support CSS3 transformation in your Omi project.",
"main": "index.js",
"scripts": {},