File tree Expand file tree Collapse file tree 6 files changed +48
-0
lines changed
commerce/4.0.x-dev/encore
experience/4.0.x-dev/encore Expand file tree Collapse file tree 6 files changed +48
-0
lines changed Original file line number Diff line number Diff line change 11const bundles = require ( './var/encore/ibexa.config.js' ) ;
22const ibexaConfigManager = require ( './ibexa.webpack.config.manager.js' ) ;
33const configManagers = require ( './var/encore/ibexa.config.manager.js' ) ;
4+ const configSetups = require ( './var/encore/ibexa.config.setup.js' ) ;
5+ const path = require ( 'path' ) ;
46
57module . exports = ( Encore ) => {
68 Encore . setOutputPath ( 'public/assets/ibexa/build' )
@@ -17,6 +19,12 @@ module.exports = (Encore) => {
1719 . enableReactPreset ( )
1820 . enableSingleRuntimeChunk ( ) ;
1921
22+ configSetups . forEach ( ( configSetupPath ) => {
23+ const setupConfig = require ( configSetupPath ) ;
24+
25+ setupConfig ( Encore ) ;
26+ } ) ;
27+
2028 bundles . forEach ( ( configPath ) => {
2129 const addEntries = require ( configPath ) ;
2230
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ const path = require('path');
22const bundles = require ( './var/encore/ibexa.config.js' ) ;
33const ibexaConfigManager = require ( './ibexa.webpack.config.manager.js' ) ;
44const configManagers = require ( './var/encore/ibexa.config.manager.js' ) ;
5+ const configSetups = require ( './var/encore/ibexa.config.setup.js' ) ;
6+ const path = require ( 'path' ) ;
57
68module . exports = ( Encore ) => {
79 Encore . setOutputPath ( 'public/assets/ezplatform/build' )
@@ -18,6 +20,12 @@ module.exports = (Encore) => {
1820 . enableReactPreset ( )
1921 . enableSingleRuntimeChunk ( ) ;
2022
23+ configSetups . forEach ( ( configSetupPath ) => {
24+ const setupConfig = require ( configSetupPath ) ;
25+
26+ setupConfig ( Encore ) ;
27+ } ) ;
28+
2129 bundles . forEach ( ( configPath ) => {
2230 const addEntries = require ( configPath ) ;
2331
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ const path = require('path');
22const bundles = require ( './var/encore/ibexa.config.js' ) ;
33const ibexaConfigManager = require ( './ibexa.webpack.config.manager.js' ) ;
44const configManagers = require ( './var/encore/ibexa.config.manager.js' ) ;
5+ const configSetups = require ( './var/encore/ibexa.config.setup.js' ) ;
6+ const path = require ( 'path' ) ;
57
68module . exports = ( Encore ) => {
79 Encore . setOutputPath ( 'public/assets/ezplatform/build' )
@@ -18,6 +20,12 @@ module.exports = (Encore) => {
1820 . enableReactPreset ( )
1921 . enableSingleRuntimeChunk ( ) ;
2022
23+ configSetups . forEach ( ( configSetupPath ) => {
24+ const setupConfig = require ( configSetupPath ) ;
25+
26+ setupConfig ( Encore ) ;
27+ } ) ;
28+
2129 bundles . forEach ( ( configPath ) => {
2230 const addEntries = require ( configPath ) ;
2331
Original file line number Diff line number Diff line change 11const bundles = require ( './var/encore/ibexa.config.js' ) ;
22const ibexaConfigManager = require ( './ibexa.webpack.config.manager.js' ) ;
33const configManagers = require ( './var/encore/ibexa.config.manager.js' ) ;
4+ const configSetups = require ( './var/encore/ibexa.config.setup.js' ) ;
5+ const path = require ( 'path' ) ;
46
57module . exports = ( Encore ) => {
68 Encore . setOutputPath ( 'public/assets/ibexa/build' )
@@ -17,6 +19,12 @@ module.exports = (Encore) => {
1719 . enableReactPreset ( )
1820 . enableSingleRuntimeChunk ( ) ;
1921
22+ configSetups . forEach ( ( configSetupPath ) => {
23+ const setupConfig = require ( configSetupPath ) ;
24+
25+ setupConfig ( Encore ) ;
26+ } ) ;
27+
2028 bundles . forEach ( ( configPath ) => {
2129 const addEntries = require ( configPath ) ;
2230
Original file line number Diff line number Diff line change 11const bundles = require ( './var/encore/ibexa.config.js' ) ;
22const ibexaConfigManager = require ( './ibexa.webpack.config.manager.js' ) ;
33const configManagers = require ( './var/encore/ibexa.config.manager.js' ) ;
4+ const configSetups = require ( './var/encore/ibexa.config.setup.js' ) ;
5+ const path = require ( 'path' ) ;
46
57module . exports = ( Encore ) => {
68 Encore . setOutputPath ( 'public/assets/ibexa/build' )
@@ -17,6 +19,12 @@ module.exports = (Encore) => {
1719 . enableReactPreset ( )
1820 . enableSingleRuntimeChunk ( ) ;
1921
22+ configSetups . forEach ( ( configSetupPath ) => {
23+ const setupConfig = require ( configSetupPath ) ;
24+
25+ setupConfig ( Encore ) ;
26+ } ) ;
27+
2028 bundles . forEach ( ( configPath ) => {
2129 const addEntries = require ( configPath ) ;
2230
Original file line number Diff line number Diff line change 11const bundles = require ( './var/encore/ibexa.config.js' ) ;
22const ibexaConfigManager = require ( './ibexa.webpack.config.manager.js' ) ;
33const configManagers = require ( './var/encore/ibexa.config.manager.js' ) ;
4+ const configSetups = require ( './var/encore/ibexa.config.setup.js' ) ;
5+ const path = require ( 'path' ) ;
46
57module . exports = ( Encore ) => {
68 Encore . setOutputPath ( 'public/assets/ibexa/build' )
@@ -17,6 +19,12 @@ module.exports = (Encore) => {
1719 . enableReactPreset ( )
1820 . enableSingleRuntimeChunk ( ) ;
1921
22+ configSetups . forEach ( ( configSetupPath ) => {
23+ const setupConfig = require ( configSetupPath ) ;
24+
25+ setupConfig ( Encore ) ;
26+ } ) ;
27+
2028 bundles . forEach ( ( configPath ) => {
2129 const addEntries = require ( configPath ) ;
2230
You can’t perform that action at this time.
0 commit comments