Skip to content

Conversation

@cezaraugusto
Copy link
Member

Right now, indexes defined in content_scripts files are not reloaded at all for framework-specific templates (we must import a ContentApp for them) and have a wrong behavior (does not clean-up previous HMR code) for non-framework templates. This PR is an attempt to fix that.

Related to awesome-webextension/webpack-target-webextension#46

@cezaraugusto cezaraugusto force-pushed the better-content-scripts branch from 4a43088 to 86d3054 Compare February 25, 2025 03:09
@cezaraugusto cezaraugusto force-pushed the better-content-scripts branch from 86d3054 to 4fcc39d Compare February 25, 2025 03:15
@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 25, 2025

Open in Stackblitz

npm i https://pkg.pr.new/extension-js/extension.js/extension@239
npm i https://pkg.pr.new/extension-js/extension.js/extension-create@239
npm i https://pkg.pr.new/extension-js/extension.js/extension-develop@239

commit: ba27af3

@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 25, 2025

Open in Stackblitz

npm i https://pkg.pr.new/extension-js/extension.js/extension@239
npm i https://pkg.pr.new/extension-js/extension.js/extension-create@239
npm i https://pkg.pr.new/extension-js/extension.js/extension-develop@239

commit: 70fac81

@cezaraugusto cezaraugusto force-pushed the main branch 2 times, most recently from f53897b to b218988 Compare April 5, 2025 00:34
@cezaraugusto
Copy link
Member Author

this is fixed in #256

@cezaraugusto cezaraugusto deleted the better-content-scripts branch August 29, 2025 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants