]> cat aescling's git repositories - mastodon.git/commitdiff
Fixed webpack config code
authorkibigo! <marrus-sh@users.noreply.github.com>
Tue, 26 Sep 2017 02:35:54 +0000 (19:35 -0700)
committerkibigo! <marrus-sh@users.noreply.github.com>
Tue, 26 Sep 2017 02:35:54 +0000 (19:35 -0700)
config/webpack/shared.js

index ab925b02096e630e4b9685cc61b30aaad9328559..99f4dec1a970f93613232f14520207d88f657056 100644 (file)
@@ -14,12 +14,9 @@ const entryPath = join(settings.source_path, settings.source_entry_path);
 const packPaths = sync(join(entryPath, extensionGlob));
 const entryPacks = [...packPaths, ...localePackPaths].filter(path => path !== join(entryPath, 'custom.js'));
 
-const customApplicationStyle = resolve(join(settings.source_path, 'styles/custom.scss'));
-const originalApplicationStyle = resolve(join(settings.source_path, 'styles/application.scss'));
-
 const themePaths = Object.keys(themes).reduce(
   (themePaths, name) => {
-    themeData = themes[name];
+    const themeData = themes[name];
     themePaths[`themes/${name}`] = resolve(themeData.pack_directory, themeData.pack);
     return themePaths;
   }, {}
This page took 0.04029 seconds and 3 git commands to generate.