Currently, I am in the process of forking and customizing the Stackblitz Angular CLI project template which can be found at github.com/stackblitz/angular-cli-template.
The main goal here is to adjust the TypeScript configuration by changing the target
from es5
to es6
.
Based on the documentation, it should be importable using stackblitz.com/github/stackblitz/angular-cli-template, but an error occurs:
Error importing file:
src/main.ts
In reality, there is no src/main.ts file in the repository, and the structure looks quite different from a typical Stackblitz Angular CLI project:
https://i.sstatic.net/MJ4Tw.png
You'll notice additional files that are not present in regular projects, or they may be hidden because they appear upon exporting the project from Stackblitz.
I have attempted to tweak the TS configuration in a regular project, usually located at /tsconfig.app.json
, relative to the visible project root (a demo). Even trying to set module
to
amd</code did not yield any effect. It appears that altering <code>tsconfig.app.json
has no impact until the project is exported.
Is github.com/stackblitz/angular-cli-template truly the project template used by Stackblitz?
If this is not the actual template, where can we find the genuine Angular project template for forking? How should the modified forked template look like in order to be imported as
stackblitz.com/github/{GH_USERNAME}/{REPO_NAME}
as directed in the documentation?
What is the procedure to adjust TypeScript configuration for Stackblitz Angular projects?