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
Error: const retVal = anchorme(input); ^
TypeError: anchorme is not a function
`import anchorme from "anchorme"
// const html = "www.instagram.com" // const retVal = anchorme({ input: html, options: { attributes: { target: "_blank" } } })
console.log(anchorme)
const input = "some text with a link.com"; const retVal = anchorme(input);
console.log(retVal)`
anchorme version 2.1.2
The text was updated successfully, but these errors were encountered:
The same issue in prod build using vite
Sorry, something went wrong.
Note: version < 3 works fine, but once I updated version to > 3 it works fine locally, but fails in production build.
Vite: 4.5.1 Anchorme: 3.0.5 Fails in all browsers I've tried
Vite
4.5.1
Anchorme
3.0.5
Looks like the issue that wrapper.mjs developed to handle only node environment, not the browser's
wrapper.mjs
should be fixed in the latest version 3.0.7
3.0.7
No branches or pull requests
Error: const retVal = anchorme(input);
^
TypeError: anchorme is not a function
`import anchorme from "anchorme"
// const html = "www.instagram.com"
// const retVal = anchorme({ input: html, options: { attributes: { target: "_blank" } } })
console.log(anchorme)
const input = "some text with a link.com";
const retVal = anchorme(input);
console.log(retVal)`
anchorme version 2.1.2
The text was updated successfully, but these errors were encountered: