-
Notifications
You must be signed in to change notification settings - Fork 75
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 #220
Comments
Thanks for creating a separate issue. I'll have a look into this over the weekend. I have projects that use Angular 2, Tsify and Karma, so what you are doing is something that ought to be possible. Regarding more information, Tsify uses the |
Your Beyond that, I'd need to see the output that's logged when |
Now i changed browserify: {
debug: true,
plugin: [["tsify", {
project: "tsconfig-test.json"
}]]
}, And created {
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"declaration": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"lib": [
"dom",
"es2015"
],
"module": "es2015",
"moduleResolution": "node",
"sourceMap": true,
"target": "es5"
},
"files": []
} Otherwise all
Looks like
|
It works fine with {
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"declaration": false,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"lib": [
"dom",
"es2015"
],
"sourceMap": true
},
"files": []
}
`` |
Yep. It will have been the Also, those files are cached in memory; the |
With the following karma.conf and specs I face some bundle error:
karma-test-shim.ts:
test/some.spec.ts
Without
karma-test-shim.ts
=> no importsome.spec.ts
is running. Withkarma-test-shim.ts
browserify does not work.My package versions are:
How can I get more detailed info from browserify andh ow can I fix that?
The text was updated successfully, but these errors were encountered: