Hello there,
So I’ve started working on an app using ionic2 alpha, and gladly upgraded to latest cli and frramework (or whatever it was called now the name changed).
I’ve updated again today after our Jenkins build was no longer outputting any www/build, (Jenkins always installs latest CLI for now as long as we haven’t reached stable).
We also have a library which I use in all our Angular2 Projects which contains domain models, and services which directly communicate with our API. This way we don’t have to maintain it on 3/4 locations :-).
Anyhow, recently ionic2 moved away from webpack, a pity since I just started understanding how it worked, now I believe it’s using browseriify, I have the feels that it’s quite abstract int’s workings and configuration, I can’t seem to figure out how to configure it.
It keeps complaining about my library’s TS files with the following error:
import {Injectable} from "angular2/core";
^
ParseError: 'import' and 'export' may appear only with 'sourceType: module'
I’m not entirely sure where to look at with this error, anyone have more knowledge about this?