Struggling with importing into my TypeScript class.
// Issue arises here...
import * as Foundation from 'foundation/foundation';
// Everything runs smoothly until the above import is added...
export class HelloWorldScene {
constructor() {
console.log("...success...");
}
}
While attempting to build my project with ts-loader for transpilation in a gulp webpack task, the following error occurs:
stream.js:74
throw er; // Unhandled stream error in pipe.
^
Error: [object Object]
I strongly suspect that the problem lies in how I'm importing the library.