Building for production - HxGN SDx - Update 54 - Help - Hexagon

HxGN SDx Extensibility

Language
English
Product
HxGN SDx
Search by Category
Help
SmartPlant Foundation / SDx Version
10

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.