This repository has been archived by the owner on Jul 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8138617
commit 7b649c9
Showing
4 changed files
with
46 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"description": "A build test for the WebScience library.", | ||
"author": "Mozilla", | ||
"manifest_version": 2, | ||
"name": "WebScience Build Test", | ||
"version": "1.0.0", | ||
"homepage_url": "https://github.com/mozilla-rally/web-science", | ||
|
||
"browser_specific_settings": { | ||
"gecko": { | ||
"id": "[email protected]", | ||
"strict_min_version": "87.0" | ||
} | ||
}, | ||
|
||
"background": { | ||
"scripts": ["dist/background.js"] | ||
}, | ||
|
||
"incognito": "not_allowed" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import commonjs from "@rollup/plugin-commonjs"; | ||
import resolve from "@rollup/plugin-node-resolve"; | ||
import webScienceRollupPlugin from "@mozilla/web-science/rollup-plugin"; | ||
|
||
export default (cliArgs) => { | ||
const rollupConfig = [ | ||
{ | ||
input: "src/background.js", | ||
output: { | ||
file: "dist/background.js", | ||
}, | ||
plugins: [ | ||
webScienceRollupPlugin(), | ||
resolve({ | ||
browser: true, | ||
}), | ||
commonjs(), | ||
], | ||
} | ||
]; | ||
return rollupConfig; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import * as WebScience from "../../../src/webScience.js"; |