I am developing library for Ionic 2, that should be installed via NPM, but i can't do this in classic way. If you want to develop module you can use npm link command to link module to your project where you want test and develop it, but in Ionic it everytime fall on compilation error, when is module linked using npm link.
This is error that i get evertime:
[10:14:15] Error: Could not resolve entry (./.tmp/app/main.dev.js)
at /Users/daniel/ionic/cache-test/node_modules/rollup/dist/rollup.js:8602:28
at process._tickCallback (internal/process/next_tick.js:103:7)
So, is there any trick how to develop and test NPM module in Ionic 2?
Thanks.