Skip to content

Instantly share code, notes, and snippets.



Last active Dec 5, 2017
What would you like to do?
Vanilla JS や TypeScript で Custom Elements を書く際の注意点 ref:
Failed to construct 'HTMLElement': Please use the 'new' operator, this DOM object constructor cannot be called as a function.
"presets": ["env"],
"plugins": ["transform-custom-element-classes"]
"compilerOptions": {
"target": "ES6"
"include": ["src/**/*"],
"exclude": ["node_modules"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment