single bundle file with typescript project code example
Example 1: create a new project with create-react-app
npx create-react-app project-name
Example 2: Nlog as a library to use in different project
NLog.LogManager.Configuration = new NLog.Config.XmlLoggingConfiguration( "<your path>" + "\\NLog.config", true);