-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
karma browserify bundle error with babelify #221
Comments
At least part of the problem is that, by default, Babelify does not process the contents of Some time ago, I answered an SO question related to this that might help: |
Thanks. It works with: browserify: {
debug: true,
plugin: [["tsify", {
project: "tsconfig-test.json"
}]],
transform: [["babelify", {
extensions: [".js", ".ts"],
global: true,
only: /node_modules\/\@ionic-native/,
presets: ["es2015"]
}]],
},
|
Good to hear it's solved. The gist of the |
See also:
#220
Now I like to integrate
babelify
since some node module is not provided ines5
.My karma.conf.ts now looks like:
and the bundle error is:
How do I correctly setup karma, browserify, tsify and babelify?
The text was updated successfully, but these errors were encountered: