New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sideEffects and export * from #2795
Comments
@evanw any thoughts here? |
We have same issue. Replacing |
Hi! I hope above example will help with solving that issue. In case of any question in regard of this please don't hesitate to contact me. |
We are facing the same issue as well. It would be great to be able to leverage |
Hi,
I have that simple structure:
package.json
src/components/modal/index.tsx
src/components/modal/components/index.ts
src/components/modal/components/body/index.tsx
src/components/modal/someComponent/index.tsx
As you can see
src/components/modal/components/index.ts
hasexport * from
After build i has that result
Result with export * from
components/modal/index.js
has:src/components/modal/components/body/index.tsx
src/components/modal/components/body/style.less
But
components/modal/index.css
have onlysrc/components/modal/someComponent/style.less
If we change
src/components/modal/components/index.ts
to thisChanged src/components/modal/components/index.ts
Now we got this result:
Result with export { ModalBody } from
Now
components/modal/index.js
hassrc/components/modal/components/body/index.tsx
src/components/modal/components/body/style.less
src/components/modal/components/index.ts
!!!And
components/modal/index.css
now hassrc/components/modal/components/body/style.less
!!!How i can fix that without change
export * from
toexport {...} from
or it is bug?Thanks.
The text was updated successfully, but these errors were encountered: