Webpack: UnusedFilesWebpackPlugin: ignore locale whitelist files, about.example
This commit is contained in:
parent
5ea4a8e869
commit
e8623d0af8
|
@ -82,7 +82,12 @@ module.exports = {
|
||||||
new UnusedFilesWebpackPlugin({
|
new UnusedFilesWebpackPlugin({
|
||||||
patterns: ['app/**/*.*'],
|
patterns: ['app/**/*.*'],
|
||||||
globOptions: {
|
globOptions: {
|
||||||
ignore: ['node_modules/**/*', '**/__*__/**/*'],
|
ignore: [
|
||||||
|
'node_modules/**/*',
|
||||||
|
'**/__*__/**/*',
|
||||||
|
'app/instance/about.example',
|
||||||
|
'app/soapbox/locales/whitelist_*.json',
|
||||||
|
],
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
// https://github.com/jantimon/html-webpack-plugin#options
|
// https://github.com/jantimon/html-webpack-plugin#options
|
||||||
|
|
Loading…
Reference in New Issue