#✅ Creating barcode image in hook

3 messages · Page 1 of 1 (latest)

brittle robin
#

I try to create hook inside bundle extension that generate a barcode image after data is created using jsBarcode (https://github.com/lindell/JsBarcode). But when i try to build the xtensions it comes with error "[RollupError] Unexpected character '' (Note that you need plugins to import files that are not JavaScript) (plugin commonjs--resolver)"

i tried to install commonjs plugin and created rollup config and nothing change

jovial girderBOT
#

Thanks for posting! This is a community powered server, so you may or may not get an answer based on available help and expertise. To increase your chances of somebody being able to help you, please make sure your question includes the following:

  • An explanation of exactly what you're trying to achieve.
  • Any and all related code or previous attempts.
  • The exact issue or error you are facing.
  • Any screenshots if applicable.

When you're done with this thread, please close it.

(If you have a support agreement and need help, please contact the core team via email.)

jovial girderBOT
#

✅ Creating barcode image in hook