Closed lakemalcom closed 6 years ago
Is there a release planned with this?
Please, refer to this section in the documentation.
When using with browserify, webpack etc, you must import the library as:
import {AutoWired, Inject} from "typescript-ioc/es5";
or, if you are using es6 as output:
import {AutoWired, Inject} from "typescript-ioc/es6";
I end up with: Uncaught Error: Cannot find module './es5'
If I change the output from: module.exports = require(useES6 ? './es6' : './es5'); to: module.exports = require('./es5');
Then everything works fine.