aurelia / aurelia/webpack-plugin

Typings not being resolved for webpack.config.ts

Open
#143 12 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
89
Forks
33
PR merge metrics
No merged PRs in 30d

Description

When configuring webpack with a [webpack.config.**ts**](https://github.com/aurelia-contrib/aurelia-router-metadata/blob/master/webpack.config.ts) rather than a webpack.config.**js**, the typings are not properly resolved:

![image](https://user-images.githubusercontent.com/9655331/38768094-a4cbd6f0-3fee-11e8-91ce-d47c2a691104.png)

Everything **works**, it's just this error and the lack of typings/intellisense that makes the experience suboptimal.

I wouldn't mind submitting a PR if this is indeed a "bug", but I just want to make sure first that there's not some kind of setting that I'm missing.

Contributor guide

Open the contributing guide

Research direction

Start by inspecting webpack.config.ts and the repository's TypeScript and webpack configuration to determine why typings and IntelliSense are missing while bundling still works. Done means the configuration produces no typings-resolution error and exposes the expected typings in the editor; verify this using the reported setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, webpack
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.