Import and Export a JS Module in one line

2021-01-14 / mgrubinger / 0 reactions

When you need to immediately export a javascript module again (useful for creating index files):

export { namedImport } from './path/to/module';
Leave a reaction if you liked this post! 🧡
Leave a new comment