This repository was archived by the owner on May 1, 2020. It is now read-only.
This repository was archived by the owner on May 1, 2020. It is now read-only.
*.d.ts, *.js, and *.metadata.json files are getting generated in my src directory when using angular 2 barrels #136
Closed
Description
*.d.ts, *.js, and *.metadata.json files are getting generated in my src directory when using angular 2 barrels. If I remove the barrel, then they are not generated in the src directory.
It would be nice if they were not put in the src directory because when you try and build again the linter and the build fails because it is not expecting those files to be there.
Steps to reproduce:
- Create a barrel for a one of your ts files (I tried putting it both outside and inside the source directory and still had the issue)
- Update you other ts files to use the barrel to import the class in the ts file.
- Run "ionic run android"
Result
*.d.ts, *.js, and *.metadata.json files are get generate next to the *.ts files in the src directory (at least the ones using barrels do)
"scripts": {
"build": "ionic-app-scripts build",
"watch": "ionic-app-scripts watch",
"serve:before": "watch",
"emulate:before": "build",
"deploy:before": "build",
"build:before": "build",
"run:before": "build"
},
"config": {
"ionic_rollup": "./scripts/rollup.config.js"
}
Which @ionic/app-scripts version are you using?
ionic CLI 2.1.0
ionic 2 RC0
angular 2.0.1
@ionic/app-scripts 0.0.30 (latest)
Metadata
Metadata
Assignees
Labels
No labels