mirror of
https://github.com/kikobar/mastodon.git
synced 2024-11-17 21:04:14 +00:00
Exclude packs/custom.js from webpack compilation to prevent breakage (#3719)
due to the change in #3373
This commit is contained in:
parent
47ace633dc
commit
85af2405cf
|
@ -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'));
|
||||||
|
|
Loading…
Reference in a new issue