Skip to content

Commit

Permalink
fix loader
Browse files Browse the repository at this point in the history
  • Loading branch information
codergautam committed Jul 2, 2022
1 parent 6c40f35 commit 10bf89f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions webpackprod.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
//const webpack = require("webpack");
const path = require("path");
const CopyPlugin = require("copy-webpack-plugin");
const {CAPTCHASITE} = require("./config.json");
function uuidv4() {
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(c) {
var r = Math.random() * 16 | 0, v = c == "x" ? r : (r & 0x3 | 0x8);
Expand All @@ -17,7 +16,6 @@ const config = {
{ from: "src/index.html", to: "", transform(content) {
return content
.toString()
.replace("INSERT_RECAPTCHA_SITE_KEY", CAPTCHASITE)
.replace("RANDOM_UUID", uuidv4());
}},
],
Expand Down

0 comments on commit 10bf89f

Please sign in to comment.