-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Error: Debug Failure. False expression: File normalize.css/normalize.css has unknown extension. #13004
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Milestone
Comments
The code also compiles using typescript 2.1.1. |
@Andy-MS can you please take a look? |
I'm getting:
Also on version 2.1.4. Downgrading solved the issue. |
Quickfix, as typescript can't import other filetypes at the moment: -import 'normalize.css';
+declare var require;
+require('normalize.css'); |
@sarod, @DomiR and @roypeled can you give |
It seems to work using [email protected] Thanks ! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
TypeScript Version: 2.1.4 and nightly (2.2.0-dev.201xxxxx)
Code
tsconfig
Expected behavior:
Tsc should compile without error as ts 2.0.10 does.
This kind of import are handled by webpack that injects the css at runtime.
Actual behavior:
Running tsc 2.1.4 fails with the following error
I initially thought it was a ts-loader issue that fails with another error on the same code (see TypeStrong/ts-loader#416)
This public repro can be used to reproduce https://github.com/sarod/ts-loader-issue416
The text was updated successfully, but these errors were encountered: