-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
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
WIP: Switch from commonjs to ESM #255
Conversation
npm test -- test/suffixtree_test.js works now
To make this work, I need to create at background.html page, which loads the scripts that are currently in manifest.json:background:scripts. There is no safe way to use ESM modules in content scripts. But these are fairly contained so don't need the ESM stuff. |
/** | ||
* we load these lazily. | ||
*/ | ||
|
||
import {FakeMessages, FakeDisk, Connects} from './fakes.js'; | ||
|
||
function wrapObject(base) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added features to this thing that I'm barely using. It's handy and I should document it.
Popup and background are good. I need to check the content scripts next |
Content scripts working. Need to test in FF. |
unit tests are working locally
browser stuff is untested