ES6 import don't work with additional sorts
See original GitHub issueWhile this works:
import Tablesort from 'tablesort'
I don’t know how to import the additional sorts (example: number, date). Could you please document this?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:5 (1 by maintainers)
Top Results From Across the Web
javascript - Pass options to ES6 module imports
It would only work if the module exports a function and should probably not be allowed if we have named imports (i.e. import...
Read more >Jest Full and Partial Mock/Spy of CommonJS and ES6 ...
This post goes through how to achieve different types of module mocking ... These are methods that work in more specific cases than...
Read more >Babylon.js ES6 support with Tree Shaking
Due to the modules name changing and other es6 modules differences, the UMD and CDN inspector version is not compatible with ES6. Nevertheless,...
Read more >import - JavaScript - MDN Web Docs - Mozilla
Since the default export doesn't explicitly specify a name, you can give the identifier any name you like. ... Importing a name called...
Read more >ES6: provide imports layout in code style : WEB-21182
ESLint plugins like eslint-plugin-import allow you to specify how you would like to group your imports based on some of those groups and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
+1 to this issue.
I think
src/sorts/
should be marked as exportable modules👋 Pull requests happily accepted!