Skip to content

Commit

Permalink
revert: remove the npmjs.com handle (#30)
Browse files Browse the repository at this point in the history
This injection to npmjs.com was only a POC, and we are not maintaining
it.

Now it starts to break my code, so I'm removing it from the code.

I think when we will re-implement it, we will do that with Vue, so this
code is useless.
  • Loading branch information
baruchiro authored Mar 19, 2023
1 parent 3e365cb commit a21133d
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 35 deletions.
10 changes: 0 additions & 10 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,16 +108,6 @@ async function buildBrowserExtension(browserType, version, fileExtension) {
format: 'iife',
});

// --------------
// content.npm.js
bundle = await rollup({
input: path.join(srcDirPath, 'content.npm.js'),
});
await bundle.write({
file: path.join(outputDirPath, 'content.npm.js'),
format: 'iife',
});

// --------------
// background.js
bundle = await rollup({
Expand Down
17 changes: 0 additions & 17 deletions src/content.npm.js

This file was deleted.

4 changes: 0 additions & 4 deletions src/manifest.chrome.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@
{
"matches": ["*://stackoverflow.com/*"],
"js": ["content.stackoverflow.js"]
},
{
"matches": ["*://www.npmjs.com/package/*"],
"js": ["content.npm.js"]
}
],
"background": {
Expand Down
4 changes: 0 additions & 4 deletions src/manifest.firefox.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@
{
"matches": ["*://stackoverflow.com/*"],
"js": ["content.stackoverflow.js"]
},
{
"matches": ["*://www.npmjs.com/package/*"],
"js": ["content.npm.js"]
}
],
"background": {
Expand Down

0 comments on commit a21133d

Please sign in to comment.