diff options
author | kibigo! <marrus-sh@users.noreply.github.com> | 2017-09-25 19:35:54 -0700 |
---|---|---|
committer | kibigo! <marrus-sh@users.noreply.github.com> | 2017-09-25 19:35:54 -0700 |
commit | f7ca205f382a9d528bf37e3ec38ee8bf77dccccf (patch) | |
tree | ec21ec163f4bc225651a6b5715b75c40068950d8 /config | |
parent | 86e617a839bd4eb45ace52ab226a4e93bb184ff0 (diff) |
Fixed webpack config code
Diffstat (limited to 'config')
-rw-r--r-- | config/webpack/shared.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/config/webpack/shared.js b/config/webpack/shared.js index ab925b020..99f4dec1a 100644 --- a/config/webpack/shared.js +++ b/config/webpack/shared.js @@ -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; }, {} |