Closed bryceosterhaus closed 1 year ago
This essentially "undoes" this bit of code when normalizing the exports config.
Not sure if there is a better way to handle this. I noticed we also do something similar here, https://github.com/liferay/liferay-frontend-projects/blob/master/projects/npm-tools/packages/npm-scripts/src/utils/getExternalExportsWebpackConfigs.js#L93-L96
This essentially "undoes" this bit of code when normalizing the exports config.
Not sure if there is a better way to handle this. I noticed we also do something similar here, https://github.com/liferay/liferay-frontend-projects/blob/master/projects/npm-tools/packages/npm-scripts/src/utils/getExternalExportsWebpackConfigs.js#L93-L96