If you're looking for a solution, one approach could be to:
import * as Pixie from 'pixie.js'
Then, you can utilize it like this:
// If you're unsure about the functionality of these libraries
Pixie.doSomething or const pixie = new Pixie()
Since I am not very familiar with the specific libraries you mentioned, there might be some discrepancies in the paths I provided. However, the concept remains the same. For instance, in my TypeScript projects without webpack but pure TS, I successfully import loadsh using import * as _ from 'loadsh'
.
It's important to note that if you don't use webpack or similar tools, every time you compile your code with tsc, all imported libraries will be bundled into the .js file. This results in larger file sizes.
Webpack, on the other hand, allows you to consolidate these libraries into single external bundles. This leads to reduced file sizes as all your .js files can access these libraries from a centralized bundle.