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

due to the change in 
lolsob-rspec
Eugen Rochko 2017-06-13 03:55:36 +02:00 committed by GitHub
parent 9ba171309b
commit baf07bc83b
1 changed files with 1 additions and 1 deletions
config/webpack

View File

@ -12,7 +12,7 @@ const localePackPaths = require('./generateLocalePacks');
const extensionGlob = `**/*{${paths.extensions.join(',')}}*`; const extensionGlob = `**/*{${paths.extensions.join(',')}}*`;
const packPaths = sync(join(paths.source, paths.entry, extensionGlob)); 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 customApplicationStyle = resolve(join(paths.source, 'styles/custom.scss'));
const originalApplicationStyle = resolve(join(paths.source, 'styles/application.scss')); const originalApplicationStyle = resolve(join(paths.source, 'styles/application.scss'));