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