aggiunto webpack

This commit is contained in:
Matteo Manzinello 2019-05-02 12:55:42 +02:00
parent 52ce21e8eb
commit bd7f935576
3 changed files with 5396 additions and 1 deletions

5391
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -21,6 +21,8 @@
"homepage": "https://mailgo.js.org",
"devDependencies": {
"gulp": "^4.0.1",
"gulp-terser": "^1.1.7"
"gulp-terser": "^1.1.7",
"webpack": "^4.30.0",
"webpack-cli": "^3.3.1"
}
}

View File

@ -1,3 +1,5 @@
import "./mailgo.css";
// ottengo tutti i mailto contenuti nella pagina
let mailgos = document.querySelectorAll('a[href^="mailto:"]:not(.no-mailgo)');