Merge branch 'more-image-ops' of https://github.com/j433866/CyberChef into j433866-more-image-ops

This commit is contained in:
n1474335 2019-07-03 12:24:03 +01:00
commit db72cad610
33 changed files with 2815 additions and 260 deletions

View file

@ -119,9 +119,17 @@ module.exports = {
encoding: "base64"
}
},
{ // Store font .fnt and .png files in a separate fonts folder
test: /(\.fnt$|bmfonts\/.+\.png$)/,
loader: "file-loader",
options: {
name: "[name].[ext]",
outputPath: "assets/fonts"
}
},
{ // First party images are saved as files to be cached
test: /\.(png|jpg|gif)$/,
exclude: /node_modules/,
exclude: /(node_modules|bmfonts)/,
loader: "file-loader",
options: {
name: "images/[name].[ext]"