Open nictownsend opened 3 years ago
@JQrdan - any better way you'd prefer to split the assets?
Triggered by commit: 8d001155e391907c8e7cd57864989f68f7dbec8f
Agree that these peieces should not be used/exported in production via the barrel.
Out of interest, would a:
export {publicItemOne, publicItemTwo} from './ConfigFeatureFlag.assets'
replacing
achieve the same effect (without the need for extra files)?
Unfortunately not - it seems like treeshaking isn't smart/configured to notice that the imports in ConfigFeatureFlag.assets
are not used by the exported functions. Am happy to raise a following issue for backlog to investigate this though.
Contributes to: strimzi/strimzi-ui#152
Signed-off-by: Nic Townsend nictownsend@uk.ibm.com