aurelia / aurelia/webpack-plugin
modules not loading when using cache-loader
- Dominant language
- TypeScript
- Stars
- 89
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
Description
**I'm submitting a bug report**
* **Library Version:**
3.0.0
**Please tell us about your environment:**
* **Operating System:**
Windows 10
* **Node Version:**
6.11.1
* **NPM Version:**
3.10.10
* **JSPM OR Webpack AND Version**
webpack 4.4.1
* **Browser:**
all
* **Language:**
TypeScript 2.6
**Current behavior:**
I want to use [cache-loader](https://github.com/webpack-contrib/cache-loader) in order to speed up webpack builds. As soon as I try to use cache-loader with [ts-loader](https://github.com/TypeStrong/ts-loader), during runtime modules defined with `PLATFORM.ModuleName('XXX')` cannot be resolved resulting in error `Unable to find module with XXX`.
**Expected behavior:**
Modules defined with `PLATFORM.ModuleName('XXX')` should be resolved during runtime when using [cache-loader](https://github.com/webpack-contrib/cache-loader) and should not result in error.
Contributor guide
Assessment
This issue has not been assessed yet.