jvandemo / jvandemo/generator-angular2-library
Accessors are only available when targeting ECMAScript 5 and higher
- Dominant language
- JavaScript
- Stars
- 740
- Forks
- 116
- PR merge metrics
- No merged PRs in 30d
Description
From .src/tsconfig.es5.json:
// This file is used by ngc to create the files in the build directory
{
"compilerOptions": {
"declaration": true,
"module": "es2015",
**"target": "es5",**
"baseUrl": ".",
.
.
.
./tsconfig.json doesn't contain the "target" property.
The solution is to add it.
Robert
Contributor guide
No contributing guide indexed for this repository
Research direction
Compare src/tsconfig.es5.json with tsconfig.json, starting with the compilerOptions target setting described in the issue. Add the missing target to tsconfig.json and verify that the generated Angular library configuration includes the intended ECMAScript target.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, typescript
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100