FEMT: Add no-restricted-img-srcs rule (#105006)

This commit is contained in:
Tom Ratcliffe authored and GitHub committed 2025-05-12 10:34:17 +01:00
1 parent 56cfeb8616
commit 8f17f607fa
49 files changed
+503 -108

No files matched your search

+9
View File
@@ -1,3 +1,4 @@
const CopyWebpackPlugin = require('copy-webpack-plugin');
const path = require('path');
const webpack = require('webpack');
@@ -68,6 +69,14 @@ module.exports = {
new webpack.ProvidePlugin({
Buffer: ['buffer', 'Buffer'],
}),
new CopyWebpackPlugin({
patterns: [
{
from: 'public/img',
to: 'img',
},
],
}),
],
module: {
rules: [