Skip to content
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

Bundling all CSS and JS into one file each #557

Open
cozimacode opened this issue Sep 6, 2020 · 0 comments
Open

Bundling all CSS and JS into one file each #557

cozimacode opened this issue Sep 6, 2020 · 0 comments

Comments

@cozimacode
Copy link

This issue is a:

  • Question / support request

Hey guys,

I have recently jumped to nwb for easy publishing after developing my react library on CRA. I was able to generate the demo, es, lib, umd folders but I see duplicate code in all of these (es, lib, umd) and the folder structure is like my current structure in src.

I have seen most libraries online have a sleek folder structure containing index.js and styles.css as the files and everything else bundled to it. How can I configure nwb to bundle my code that way and is that a good practice?

Thank you for bringing this app to make our lives easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant