Browse Source

Exclude packs/custom.js from webpack compilation to prevent breakage (#3719)

due to the change in #3373
master
Eugen Rochko 7 years ago
committed by GitHub
parent
commit
85af2405cf
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      config/webpack/shared.js

+ 1
- 1
config/webpack/shared.js View File

@ -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'));

Loading…
Cancel
Save