Commit 5667316e authored by Schoumi's avatar Schoumi

Merge branch 'master' of github.com:konnectors/net-entreprise-micro

parents cfd6726c 202cad22
......@@ -17,7 +17,7 @@ try {
}
const appIconRX = iconName && new RegExp(`[^/]*/${iconName}`)
const base64Image = new Buffer(fs.readFileSync("img.jpg")).toString('base64');
const base64Image = new Buffer(fs.readFileSync('img.jpg')).toString('base64')
module.exports = {
entry,
......@@ -49,7 +49,7 @@ module.exports = {
loader: 'string-replace-loader',
options: {
search: "fs.readFileSync('img.jpg')",
replace: "Buffer.from('" + base64Image + "', 'base64')",
replace: "Buffer.from('" + base64Image + "', 'base64')"
}
}
]
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment