-
-
Notifications
You must be signed in to change notification settings - Fork 131
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
Replace webpack with parcel #252
Conversation
@@ -1,3 +1,4 @@ | |||
import browser from 'webextension-polyfill'; |
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.
No longer globally-available; This is required until fregante/browser-extension-template#48 is resolved
"sinon": "^7.3.2", | ||
"sinon-chrome": "^3.0.1", | ||
"size-plugin": "^1.2.0", | ||
"stylelint": "^10.1.0", | ||
"stylelint": "^13.12.0", |
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.
Update was required due to an @import
bug
}, | ||
"stylelint": { | ||
"extends": "stylelint-config-xo", | ||
"rules": { | ||
"declaration-no-important": null | ||
} | ||
}, | ||
"webExt": { | ||
"sourceDir": "distribution" |
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.
Extra: now you can run web-ext run
in the root.
This reverts commit 6533bad.
The options page appears to work. Untested elsewhere because I'm notification zero 😌 |
Thanks for doing this. Seems to be working fine. |
🙌 |
I was trying to fix #251 but of course webpack’s config was a PITA to update and conform to ESM, so the next logical step was… fregante/browser-extension-template#44
To get started I ran: