diff options
Diffstat (limited to 'config/webpack/shared.js')
-rw-r--r-- | config/webpack/shared.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/webpack/shared.js b/config/webpack/shared.js index 8fd80a00d..de57ecb68 100644 --- a/config/webpack/shared.js +++ b/config/webpack/shared.js @@ -12,7 +12,7 @@ const localePackPaths = require('./generateLocalePacks'); const extensionGlob = `**/*{${paths.extensions.join(',')}}*`; const packPaths = sync(join(paths.source, paths.entry, extensionGlob)); -const entryPacks = [].concat(packPaths).concat(localePackPaths); +const entryPacks = [].concat(packPaths).concat(localePackPaths).filter(path => path !== join(paths.source, paths.entry, 'custom.js')); const customApplicationStyle = resolve(join(paths.source, 'styles/custom.scss')); const originalApplicationStyle = resolve(join(paths.source, 'styles/application.scss')); |