Is there a solution for this, or is there something wrong with my code?
Is there a way that Transformers defined in the pubspec (of one library) can transform libraries of other packages too (with "pub build")?
"pub build" for this library:
name: harmony3d_example
transformers:
- mist <- gets applied and transformed code appears that way in the „build“-folder
used packages:
name: harmony3d
transformers:
- mist <- gets applied but only untransformed code appear in the „build“-folder
name: mist
transformers:
- mist/src/build/mist_static_transform <- gets applied and transformed code appears that way in the „build“-folder
The secondary inputs gets transformed but the transformed code does not land in the "build" folder (only the untransformed code).
Also, is there a way to do transformation only on "pub build"?
- bob
class MyTransform extends Transformer { final BarbackSettings _settings; MyTransform.asPlugin(this._settings);
So my problem is, the BarbackSettings passend to my transformer is always holds the value for debug and not for release. Does not matter if its pub build oder pub serve
This works fine! Can we please get that integrated in the editor?