diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-06-13 03:55:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-13 03:55:36 +0200 |
commit | 85af2405cfc0863af2ce0f1a6eabd167802e0f6e (patch) | |
tree | 9069f77966c6209735aac4291620602b62affe0d /config | |
parent | 47ace633dcc3f89ee7d645575b67c459ab4c1df8 (diff) |
Exclude packs/custom.js from webpack compilation to prevent breakage (#3719)
due to the change in #3373
Diffstat (limited to 'config')
-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')); |