Skip to content

ES modules #102

@zigomir

Description

@zigomir

Now that Safari and Chrome already support ES modules natively, it would be nice if one could import this library like so

import hyper, { wire } from 'https://unpkg.com/hyperhtml@latest/min.js'

I'm aware that current setup with uglify-js doesn't support ES6 syntax yet. There might be other issues too. I'm mostly curious if this is something you'd consider adding or it isn't something worth adding or not really?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions