-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Labels
PR welcomekind: bugSomething isn't working properlySomething isn't working properlykind: featureNew feature or requestNew feature or requestpriority: blockedProgress on this is blockedProgress on this is blockedpriority: in progressscope: cacheRelated to the cacheRelated to the cachescope: docsDocumentation could be improved. Or changes that only affect docsDocumentation could be improved. Or changes that only affect docsscope: upstreamIssue in upstream dependencyIssue in upstream dependencysolution: workaround availableThere is a workaround available for this issueThere is a workaround available for this issue
Description
What happens and why it is wrong
Without clean: true
option, the plugin is catching the configuration even if changes at rollup config level are done (changing the implementation of a transformer implementation for instance)
Until verbosity: 3 was not set, it was not discovered cache could be an issue
Questions
- Is there any historical reason to set
clean: false
as default? It sounds like the default configuration should be without """magic""" on top right? - What do you think about adding a warning when cache is used so users notice about it with default verbosity level?
- I did not check how cache is implemented but, is it an expected behaviour to not clean the cache when there are changes on the transformers passed to this plugin or is a bug?
Environment
macOS catalina v10.15.4
node 14.2.0
Versions
- typescript: 3.9.3
- rollup: 2.10.5
- rollup-plugin-typescript2: 0.27.1
rollup.config.js
Not relevant
tsconfig.json
Not relevant
package.json
Not relevant
plugin output with verbosity 3
Not relevant
joselanderosmrf and Artur93gev
Metadata
Metadata
Assignees
Labels
PR welcomekind: bugSomething isn't working properlySomething isn't working properlykind: featureNew feature or requestNew feature or requestpriority: blockedProgress on this is blockedProgress on this is blockedpriority: in progressscope: cacheRelated to the cacheRelated to the cachescope: docsDocumentation could be improved. Or changes that only affect docsDocumentation could be improved. Or changes that only affect docsscope: upstreamIssue in upstream dependencyIssue in upstream dependencysolution: workaround availableThere is a workaround available for this issueThere is a workaround available for this issue