Support TS for indexTransform
See original GitHub issueNow, I can’t import ts file in index-transform.js
, see the code snippet below (just in case):
import { environment } form 'environment.ts'
module.exports = (targetOptions, indexHtml) => {
// use environment info to do some things
}
So I think it’s better if TS is supported for indexTransform then we can use TypeScipt great features if needed.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Specify a custom tsconfig for indexTransform ... - GitHub
Both customWebpackConfing.ts and indexTransform.ts are loaded with ts-node using tsconfig.app.json as a configuration file.
Read more >tensorstore.IndexTransform.__call__ - TensorStore
tensorstore.IndexTransform.__call__(self, indices: Sequence[int]) → Tuple[int, ...] Maps an input index vector to an output index vector. Parameters¶.
Read more >Angular CLI custom webpack config - Stack Overflow
You can use angular-builders library that allows you extending the existing browser and server targets (and more than that) with a custom ...
Read more >Environment-Based Index HTML with Angular CLI
Now that we've added it to our project, we can use the index transform option ... indexTransform is a path (relative to the...
Read more >[Angular 8+] Are you intending to duplicate your index.html?
ts file at the root folder that provides a function to change the content of the index.html. Note that: indexTransform only support TypeScript ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You should create a fork from this repo, implement the changes there and create a PR from the fork.
Closed by #689