Skip to content
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

Use ubo-snfe/bundle.min.cjs #2095

Merged
merged 1 commit into from
Aug 2, 2021
Merged

Conversation

mjethani
Copy link
Contributor

@mjethani mjethani commented Aug 1, 2021

ubo-snfe now includes a bundle.min.cjs that is generated at install time using rollup.js.

Note that in this patch we regenerate the bundle because we want to remove the bundle generation from the install script (gorhill/uBlock#3794 (comment))

@mjethani mjethani force-pushed the minified-ubo-snfe branch from ffc1a2c to 2a6fccd Compare August 2, 2021 07:20
@@ -10,6 +10,7 @@ requests.json:

./node_modules/ubo-snfe:
make -C ./blockers/ublock install-nodejs clean
npx rollup ./node_modules/ubo-snfe/main.js --file ./node_modules/ubo-snfe/bundle.min.cjs --format cjs --context global --plugin terser
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gorhill I've added the command and dependencies here so we can revert part of gorhill/uBlock@297bcea. I agree that it doesn't belong in the Node.js package itself, esp. because of the dependencies.

@remusao remusao added the PR: Internal 🏠 Changes only affect internals label Aug 2, 2021
@remusao remusao merged commit b5a8cf8 into ghostery:master Aug 2, 2021
@mjethani mjethani deleted the minified-ubo-snfe branch August 2, 2021 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: Internal 🏠 Changes only affect internals
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants