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