mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 01:02:08 +01:00
Remove bundle generation from Node.js package (#3796)
This commit is contained in:
parent
f1106acf4b
commit
3879835324
5 changed files with 8 additions and 8 deletions
2
Makefile
2
Makefile
|
@ -42,7 +42,7 @@ install-nodejs: dist/build/uBlock0.nodejs.tgz
|
|||
|
||||
# Uninstall the Node.js package.
|
||||
uninstall-nodejs:
|
||||
npm uninstall ubo-snfe --no-save
|
||||
npm uninstall '@gorhill/ubo-core' --no-save
|
||||
|
||||
# Update submodules.
|
||||
update-submodules:
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
import fs from 'fs';
|
||||
|
||||
import { pslInit } from './main.js';
|
||||
import { pslInit } from './index.js';
|
||||
|
||||
/******************************************************************************/
|
||||
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
"version": "0.1.0",
|
||||
"description": "To create a working instance of uBlock Origin's static network filtering engine",
|
||||
"type": "module",
|
||||
"main": "main.js",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"install": "node install.js && rollup main.js --file bundle.min.cjs --format cjs --context global --plugin terser",
|
||||
"install": "node install.js",
|
||||
"test": "node test.js"
|
||||
},
|
||||
"repository": {
|
||||
|
@ -23,8 +23,8 @@
|
|||
"url": "https://github.com/gorhill/uBlock/issues"
|
||||
},
|
||||
"homepage": "https://github.com/gorhill/uBlock#readme",
|
||||
"dependencies": {
|
||||
"rollup": "^2.55.1",
|
||||
"rollup-plugin-terser": "^7.0.2"
|
||||
"engines": {
|
||||
"node": ">=14.0.0",
|
||||
"npm": ">=6.14.4"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -32,7 +32,7 @@ import {
|
|||
FilteringContext,
|
||||
pslInit,
|
||||
restart,
|
||||
} from './main.js';
|
||||
} from './index.js';
|
||||
|
||||
/******************************************************************************/
|
||||
|
||||
|
|
Loading…
Reference in a new issue