Maybe I'm doing something wrong but I can't seem to make this work with Typescript. I've configured everything as per various examples:
preLoaders: [
{
test : /\.ts$/,
loader: 'baggage?[file].html&[file].css'
}
],
loaders : [
{
test : /\.ts$/,
loaders: [
'awesome-typescript-loader?module=common'
],
}
],
My file structure seems correct:
- SongsTable.ts
- SongsTable.html
If I go into baggage's code and log baggageFile and stats.isFile() everything is correct – the file path is correct, it exists, the inject variable even holds the correct output. But in my final bundle the baggage inject is nowhere to be found. Am I doing something wrong or?
Maybe I'm doing something wrong but I can't seem to make this work with Typescript. I've configured everything as per various examples:
My file structure seems correct:
If I go into baggage's code and log
baggageFileandstats.isFile()everything is correct – the file path is correct, it exists, theinjectvariable even holds the correct output. But in my final bundle the baggage inject is nowhere to be found. Am I doing something wrong or?