You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Ability to ignore files from build and livesync #887
Users should be able to setup the CLI to ignore particular files, usually ts, .d.ts, or other source files in a language that compiles to JS / CSS.
We can use the same rules, default rules and implementation code from AppBuilder CLI.
Things to consider:
We can move the rules into package.json, introduce a dedicated .tnsignore file, or use .abignore file - the latest option brings 100% interoperability with Telerik Platform
Implement interoperability with AppBuilder- i.e. appbuilder init from existing {N} project should consume existing {N} specific ignore rules.
Reacted by Germán Figna, Stanimira Vlaeva and Chris
I'm closing this one since we need TypeScript files for debugging purposes (these files can be excluded with --release). Additionally every transpiler CLI hook can handle the logic per case internally.
Indeed, you are right. We had an issue with the temporary files some IDEs create and we've fixed it, so now these files are not livesynced anymore. Do you think there is some other case you'd need to exclude files from livesyncing?
As we are now using webpack to build the application, I think this issue can be closed. Webpack includes only files required and used in the application, so we no longer have problem with filtering.
Activity
dtopuzov commentedon Nov 11, 2015
This is must have after we enabled transpilers.
rosen-vladimirov commentedon Jan 26, 2016
Let's use
.abignore- this way the project will work like a charm inside AppBuilder :)enchev commentedon May 25, 2016
In my opinion
.tnsignoreis better![-]Ability to ignore files from build[/-][+]Ability to ignore files from build and livesync[/+]enchev commentedon Aug 1, 2016
I'm closing this one since we need TypeScript files for debugging purposes (these files can be excluded with
--release). Additionally every transpiler CLI hook can handle the logic per case internally.pkoleva commentedon Jun 22, 2017
Hi @casp-simberg,
Indeed, you are right. We had an issue with the temporary files some IDEs create and we've fixed it, so now these files are not livesynced anymore. Do you think there is some other case you'd need to exclude files from livesyncing?
dtopuzov commentedon Aug 29, 2017
Another case when ignoring files will be useful:
Result will be ~1200
.d.tsfiles at TestApp/platforms/android/src/main/assets/app/tns_modulesrosen-vladimirov commentedon Jan 14, 2020
As we are now using webpack to build the application, I think this issue can be closed. Webpack includes only files required and used in the application, so we no longer have problem with filtering.