how to enable --enable-experimental-mirrors in dart build?

前端 未结 1 1893
面向向阳花
面向向阳花 2021-01-13 06:40

My build of my projects are failing because they rely on mirrors and dart build out put tells me to use --enable-experimental-mirrors to try to use mirrors in d

相关标签:
1条回答
  • 2021-01-13 07:02

    I haven't tried this myself yet but maybe you can pass it as a command line option in the transformer config

    transformers:
    - $dart2js:
        commandLineOptions: [--enable-experimental-mirrors]
    
    0 讨论(0)
提交回复
热议问题