Building for production - SmartPlant Foundation - IM Update 42 - Help - Hexagon

SmartPlant Foundation Extensibility

SmartPlant Foundation
Search by Category
SmartPlant Foundation / SDx Version

You can use the following steps to build the application and deploy it to IIS:

  1. Open a command prompt, and navigate to the directory where you placed [InstallPath]\ClientExtension.

  2. Run the command npm run build.

    This command creates a new \dist folder, which contains the code that has been optimized for deployment. These files can be hosted on IIS and consumed using the Web Client.

  • Additional changes may be needed for some settings for the production build. For example, you might need to use https instead of http if configured for SSL or enable CORS.

  • View the browser console for any errors.