Building the projectEdit on GitHub
This article provides details how to build the front-end part of the Merchant Portal.
- All related configs are located in the
- The built-in front-end stuff (css, fonts, images, js) is in the
Modules for Merchant Portal are split into composer modules, and each module has its own application in the form of an Angular Module with Angular+Web Components.
Every module has an entry point called
entry.ts that is collected during the build as webpack entries and included in the Merchant Portal build as a chunk.
Those chunk names are taken from the module name and then transformed into a
General structure of the front-end modules in the Spryker Marketplace can be found in the Module structure.
The front-end of the Merchant Portal is built using the following commands:
>npm run mp:build
build in the watch mode
>npm run mp:build:watch
>npm run mp:build:production