diff --git a/.eslintrc.js b/.eslintrc.js index 42afb7944..10366dc74 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -224,7 +224,6 @@ module.exports = { 'Emby': 'readonly', 'Globalize': 'writable', 'Hls': 'writable', - 'dfnshelper': 'writable', 'LibraryMenu': 'writable', 'LinkParser': 'writable', 'LiveTvHelpers': 'writable', diff --git a/webpack.common.js b/webpack.common.js index 142d1bcec..4c15134b5 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -121,10 +121,12 @@ const config = { let name = `node_modules.${parts[0]}`; if (parts[1]) { name += `.${parts[1]}`; + + if (parts[1] === 'locale' && parts[2]) { + name += `.${parts[2]}`; + } } - if (parts[1] === 'locale') { - name += `.${parts[2]}`; - } + return name; }