v1.0 with SW PWA enabled
This commit is contained in:
15
frontend/node_modules/get-nonce/dist/es5/index.js
generated
vendored
Normal file
15
frontend/node_modules/get-nonce/dist/es5/index.js
generated
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var currentNonce;
|
||||
exports.setNonce = function (nonce) {
|
||||
currentNonce = nonce;
|
||||
};
|
||||
exports.getNonce = function () {
|
||||
if (currentNonce) {
|
||||
return currentNonce;
|
||||
}
|
||||
if (typeof __webpack_nonce__ !== 'undefined') {
|
||||
return __webpack_nonce__;
|
||||
}
|
||||
return undefined;
|
||||
};
|
||||
Reference in New Issue
Block a user