We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
const autoComplete = require('javascript-autocomplete') works nicely.
const autoComplete = require('javascript-autocomplete')
It would be nice to use newer syntax, something like import { autoComplete } from 'javascript-autocomplete'.
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.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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:
my-app.js:
I'm not sure the impact of that setup on bundlers like webpack. But seems like it should be at least functional.
The text was updated successfully, but these errors were encountered: