Hi!
I am trying to use this great library inside the liv that I am building, but unfortunately, I need to support IE 11 but I have some issues with building the final bundle.
I am using rollup library with the following config:
Inside a project I am doing imports like that import { Component } from 'hyperhtml/esm'
On modern browsers everything works fine, but on IE 11 I am getting error: Expected identifier for the line const {Component, bind: bind$1, define, diff, hyper, wire} = hyperHTML;
Hi! I am trying to use this great library inside the liv that I am building, but unfortunately, I need to support IE 11 but I have some issues with building the final bundle.
I am using rollup library with the following config:
and my
babelrc
is looking like that:Inside a project I am doing imports like that
import { Component } from 'hyperhtml/esm'
On modern browsers everything works fine, but on IE 11 I am getting error:
Expected identifier
for the lineconst {Component, bind: bind$1, define, diff, hyper, wire} = hyperHTML;