deepsweet / deepsweet/baggage-loader

Not working with Typescript?

Open
#3 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
88
Forks
16
PR merge metrics
No merged PRs in 30d

Description

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:

``` js
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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.