@shopware-ag/webpack-plugin-injector
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -187,6 +187,6 @@ const { join, isAbsolute } = require('path'); | ||
const assetPaths = []; | ||
if (pluginDefinition.administration) { | ||
if (pluginDefinition.administration && section === 'administration') { | ||
assetPaths.push(join(basePath, pluginDefinition.administration.path, '../static')); | ||
} | ||
if (pluginDefinition.storefront) { | ||
if (pluginDefinition.storefront && section === 'storefront') { | ||
assetPaths.push(join(basePath, pluginDefinition.storefront.path, '../static')); | ||
@@ -193,0 +193,0 @@ } |
{ | ||
"name": "@shopware-ag/webpack-plugin-injector", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Injects Shopware Plugins into a Webpack config", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
14635