Closed rtm closed 8 years ago
I'm having the same issue. Compiling with Browserify
......./node_modules/ng2-toasty/ng2-toasty.ts:7 import {Toasty} from './src/toasty.container'; ^ ParseError: 'import' and 'export' may appear only with 'sourceType: module'
I need to remove the source code from the build. Will do it tomorrow. Thanks.
Please use 2.0.0 release to confirm that issue is gone.
After installing ng2-toasty, a build gives me the following error:
My tsconfig.json file is bare-bones, with neither files/filesGlob/excludes entries.
Do I need to do something with the gulpfile? This is angular2 with ionic2 if that matters.