We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The plugin is not importing the solid-js/web package (or other packages) when iife is used.
Rollup config
import withSolid from "rollup-preset-solid"; export default withSolid({ input: "App.tsx", output: { dir: "dist", format: "iife", sourcemap: false, }, });
Code:
import { render } from "solid-js/web"; render(() => <div>Hey</div>, document.body);
Output:
(function (web) { 'use strict'; const _tmpl$ = /*#__PURE__*/web.template(`<div>Hey</div>`, 2); web.render(() => _tmpl$.cloneNode(true), document.body); })(web);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The plugin is not importing the solid-js/web package (or other packages) when iife is used.
Rollup config
Code:
Output:
The text was updated successfully, but these errors were encountered: