-
Notifications
You must be signed in to change notification settings - Fork 183
Open
Description
const autoComplete = require('javascript-autocomplete') works nicely.
It would be nice to use newer syntax, something like import { autoComplete } from 'javascript-autocomplete'.
A hackish solution would be something like this.
module.js:
const autoComplete = require('auto-complete');
export default autoComplete;
my-app.js:
import { autoComplete } from 'javascript-autocomplete/module'
I'm not sure the impact of that setup on bundlers like webpack. But seems like it should be at least functional.
Jakob-Maudience and yano1978
Metadata
Metadata
Assignees
Labels
No labels