How to use Stanza.io without browserify?

680 views Asked by At

Using Ionic, how can I compile/include stanza.bundle.js without the need of browserify? Or should I just get used to use browserify?

I'm trying to add the Stanza.io library to my Ionic app. I was thinking about including it like that:

<script src="stanza.bundle.js"></script>

But there are so many JS link in the stanza.bundle.js files that I need to copy to my www folder, without knowing if it will works. Also, all JS links are absolute paths.

The commands I used to compile Stanza.io

npm install stanza.io
cd node_modules/stanza.io
npm install
make

I'm not very familiar with npm, that's why my question doesn't go very deep.

0

There are 0 answers