cookieconsent 4.0
This commit is contained in:
parent
ccc1150bfb
commit
0a09c195f3
7 changed files with 426 additions and 11 deletions
46
docs/app.js
46
docs/app.js
File diff suppressed because one or more lines are too long
376
docs/main.css
376
docs/main.css
File diff suppressed because one or more lines are too long
6
package-lock.json
generated
6
package-lock.json
generated
|
|
@ -1937,12 +1937,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"cookieconsent": {
|
||||
"version": "3.1.1",
|
||||
"resolved": "https://registry.npmjs.org/cookieconsent/-/cookieconsent-3.1.1.tgz",
|
||||
"integrity": "sha512-v8JWLJcI7Zs9NWrs8hiVldVtm3EBF70TJI231vxn6YToBGj0c9dvdnYwltydkAnrbBMOM/qX1xLFrnTfm5wTag==",
|
||||
"dev": true
|
||||
},
|
||||
"core-js-compat": {
|
||||
"version": "3.8.3",
|
||||
"resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.8.3.tgz",
|
||||
|
|
|
|||
|
|
@ -36,7 +36,6 @@
|
|||
"@babel/preset-env": "^7.12.11",
|
||||
"babel-loader": "^8.2.2",
|
||||
"clean-webpack-plugin": "^3.0.0",
|
||||
"cookieconsent": "^3.1.1",
|
||||
"css-loader": "^5.0.1",
|
||||
"css-minimizer-webpack-plugin": "^1.2.0",
|
||||
"eslint": "^7.18.0",
|
||||
|
|
|
|||
1
src/js/cookieconsent.min.js
vendored
Normal file
1
src/js/cookieconsent.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -1,4 +1,5 @@
|
|||
import CC from "CookieConsent";
|
||||
// Cookie Consent https://github.com/osano/cookieconsent
|
||||
import CC from "./cookieconsent.min.js";
|
||||
|
||||
const cc = new CC({
|
||||
//...options,
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
/* global require */
|
||||
|
||||
// Cookie Consent https://github.com/osano/cookieconsent
|
||||
require("./cookieconsent.js");
|
||||
// Handle cookies
|
||||
require("./cookies.js");
|
||||
|
||||
// CSS
|
||||
require("../css/cookieconsent.css");
|
||||
|
|
|
|||
Loading…
Reference in a new issue