Skip to content

Update typescript.rst #9827

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

Closed
wants to merge 1 commit into from
Closed

Update typescript.rst #9827

wants to merge 1 commit into from

Conversation

kallard1
Copy link
Contributor

@kallard1 kallard1 commented May 27, 2018

configFileName was renamed in configFile for Typescript configuration

Module build failed: Error: ts-loader was supplied with an unexpected loader option: configFileName

Please take a look at the options you are supplying; the following are valid options:
silent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules

`configFileName` was renamed in `configFile`
@javiereguiluz
Copy link
Member

@kallard1 good catch! This is correct according to https://github.com/TypeStrong/ts-loader/blob/master/README.md#configfile-string-defaulttsconfigjson so let's merge it (on 3.4 branch, the oldest maintained branch that contains this bug ... we'll merge it in the other branches automatically). Also, congrats on your first Symfony contribution!

javiereguiluz added a commit that referenced this pull request May 27, 2018
This PR was submitted for the 4.0 branch but it was merged into the 3.4 branch instead (closes #9827).

Discussion
----------

Update typescript.rst

`configFileName` was renamed in `configFile` for Typescript configuration

```
Module build failed: Error: ts-loader was supplied with an unexpected loader option: configFileName

Please take a look at the options you are supplying; the following are valid options:
silent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules
```

Commits
-------

e2cf45c Update typescript.rst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants