Closed as not planned
Description
Describe the bug
Hey!
Important: this is from ESM (type: module), Node.js v19.3.0, npm 9.2.0, solid-js
1.6.9
import * as x from 'solid-js/h/jsx-dev-runtime'
console.log(x)
file:///.../node_modules/solid-js/h/dist/h.js:1
import { spread, assign, insert, createComponent, dynamicProperty, SVGElements } from 'solid-js/web';
^^^^^^^^^^^
SyntaxError: The requested module 'solid-js/web' does not provide an export named 'SVGElements'
at ModuleJob._instantiate (node:internal/modules/esm/module_job:124:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:190:5)
Node.js v19.3.0
Also with the production runtime:
import * as x from 'solid-js/h/jsx-runtime'
console.log(x)
file:///.../node_modules/solid-js/h/dist/h.js:1
import { spread, assign, insert, createComponent, dynamicProperty, SVGElements } from 'solid-js/web';
^^^^^^^^^^^
SyntaxError: The requested module 'solid-js/web' does not provide an export named 'SVGElements'
at ModuleJob._instantiate (node:internal/modules/esm/module_job:124:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:190:5)
Node.js v19.3.0
Your Example Website or App
see above
Steps to Reproduce the Bug or Issue
see above
Expected behavior
Should import fine.
Perhaps this is a bug with it missing in the ESM build.
Or its a type only thing?
Screenshots or Videos
No response
Platform
- OS: macOs latest
- Browser: none
- Version: n/a
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels