aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRahiel Kasim <rahielkasim@gmail.com>2017-09-28 14:28:59 +0200
committerRahiel Kasim <rahielkasim@gmail.com>2017-09-28 14:28:59 +0200
commit87d144f15f0ecbc4753d31d27c26eb3ef754e3cb (patch)
treea1ce3f8e00b8219148eceb7c10066c0d474809f8
parent976bd0471db63ea770c9a292240a257181c520b6 (diff)
README: links with info of the archive services, update modules
-rw-r--r--README.md21
-rw-r--r--package.json8
-rw-r--r--webpack.config.js7
3 files changed, 25 insertions, 11 deletions
diff --git a/README.md b/README.md
index 33c0143..a2e6f0d 100644
--- a/README.md
+++ b/README.md
@@ -29,16 +29,25 @@ to use for manual archiving at the options. You can also select multiple
services to archive a single page in multiple web archives.
- [**archive.is**](https://archive.is), launched in 2012. Blocks (some)
- advertising and (user tracking) JavaScript.
- [Example](https://archive.is/N0yex)
+ advertising and (user tracking) JavaScript. Links:
+ [Example](https://archive.is/N0yex), [FAQ][faq-archive.is],
+ [Wikipedia][wiki-archive.is].
- [**archive.org**](https://archive.org/web/), launched in 2001. Respects
- [robots.txt][robot] so it cannot archive all webpages.
- [Example](https://web.archive.org/web/20160420095454/http://physics.weber.edu/schroeder/md/)
+ [robots.txt][robot] so it cannot archive all webpages. Links:
+ [Example](https://web.archive.org/web/20160420095454/http://physics.weber.edu/schroeder/md/),
+ [FAQ][faq-archive.org], [Wikipedia][wiki-archive.org].
- [**webcitation.org**](http://www.webcitation.org), launched in 1997, respects
robots.txt. You need to set an email address at the options to use it. Has a
- focus on academic users. [Example](http://www.webcitation.org/6guJcxnyr)
+ focus on academic users. Links: [Example](http://www.webcitation.org/6guJcxnyr),
+ [FAQ][faq-webcite], [Wikipedia][wiki-webcite].
[robot]: https://en.wikipedia.org/wiki/Robots_exclusion_standard
+[faq-archive.is]: https://archive.is/faq
+[faq-archive.org]: https://archive.org/about/faqs.php#The_Wayback_Machine
+[faq-webcite]: https://www.webcitation.org/faq
+[wiki-archive.is]: https://en.wikipedia.org/wiki/Archive.is
+[wiki-archive.org]: https://en.wikipedia.org/wiki/Internet_Archive
+[wiki-webcite]: https://en.wikipedia.org/wiki/WebCite
## Local Saving
@@ -77,7 +86,7 @@ consider the [Mozilla Archive Format][maff] or [UnMHT][] add-ons.
* This extension would not be possible without the free archiving services
provided by <https://archive.is>, <https://archive.org> and
<http://www.webcitation.org>.
-* The essay [Archiving URLs](http://www.gwern.net/Archiving%20URLs) by Gwern
+* The essay [Archiving URLs](https://www.gwern.net/Archiving-URLs) by Gwern
Branwen served as inspiration for this add-on.
[floppy]: https://openclipart.org/detail/211780/matt-icons_media-floppy-by-sixsixfive-211780
diff --git a/package.json b/package.json
index a83e47d..a832933 100644
--- a/package.json
+++ b/package.json
@@ -5,7 +5,7 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "eslint . --ignore-path .gitignore && web-ext lint -s ./dist",
- "build": "webpack --optimize-minimize",
+ "build": "webpack --optimize-minimize --display-optimization-bailout",
"firefox": "web-ext run -s ./dist -f /usr/bin/firefox --verbose",
"start": "webpack --watch"
},
@@ -20,10 +20,10 @@
"babel-core": "^6.25.0",
"babel-loader": "^7.0.0",
"babel-preset-es2015": "^6.24.1",
- "eslint": "^3.19.0",
+ "eslint": "^4.7.2",
"source-map-loader": "^0.2.1",
- "web-ext": "^1.9.1",
- "webpack": "^2.6.1"
+ "web-ext": "^2.0.0",
+ "webpack": "^3.6.0"
},
"babel": {
"presets": [
diff --git a/webpack.config.js b/webpack.config.js
index 4f4e19c..bcbdde3 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -1,4 +1,6 @@
/* global __dirname */
+const webpack = require("webpack");
+
module.exports = {
entry: {
"dist/archiveror": "./src/archiveror.js",
@@ -18,5 +20,8 @@ module.exports = {
},
{ test: /\.css$/, loader: "style!css" }
]
- }
+ },
+ plugins: [
+ new webpack.optimize.ModuleConcatenationPlugin()
+ ]
};