Open tgelu opened 1 year ago
I have a config for a platform which looks like this:
platforms: { css: { transforms: CSS_TRANSFORMS, files: [ { filter: (token) => token.isSource, format: 'css/variables', options: { outputReferences: true, }, }, ], }, },
If I try to use the dictionary using this config and call .exportPlatform('css') I get everything as expected except that the filter doesn't seem to take effect. This is not true if I call buildPlatform('css') which writes to file.
.exportPlatform('css')
buildPlatform('css')
I have a config for a platform which looks like this:
If I try to use the dictionary using this config and call
.exportPlatform('css')
I get everything as expected except that the filter doesn't seem to take effect. This is not true if I callbuildPlatform('css')
which writes to file.