Skip to content
Snippets Groups Projects
Commit 85af2405 authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

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

due to the change in #3373
parent 47ace633
No related branches found
No related tags found
No related merge requests found
......@@ -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'));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment