Why not just export it to window in one of your own files?
app.js
window.iota = require('@iota/core');
window.converter = require('@iota/converter');
window.extract = require('@iota/extract-json')
Hi,
I'm trying to import the iota js library for a personal project https://github.com/iotaledger/iota.js This library doesn't have any browsers version so I think laravel-mix(webpack) should be able to generate one from the source. In my webpack.mix.js I've tried to pass the whole library
mix.js('node_modules/@iota/','public/is');
But it doens't work and I can't find any relevat info in the laravel docs, should I pass something diffferent to the mix.js?
Please or to participate in this conversation.