question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ES6 import don't work with additional sorts

See original GitHub issue

While 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:open
  • Created 5 years ago
  • Reactions:2
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
dpmangocommented, Apr 17, 2019

+1 to this issue.

I think src/sorts/ should be marked as exportable modules

2reactions
tristencommented, Sep 6, 2019

👋 Pull requests happily accepted!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found