- An NPM module could be loaded from either dist or lib folder. It is defined in the package.json file "main".
- Change made directly to lib or dist folder will cause the wrong lines in debugger.
- Example to build the dependencies
- Download draft-js-export-html-master
- Run "npm install".
- Change the source code
- Run "npm run build" to build the code to lib folder.
- Download react-rte
- Run "npm install".
- Sync draft-js-export-html-master lib folder to react-rte's node_modules's draft-js-export-html-master lib folder.
- Run "npm run build" to build the code to dist folder.
- Sync react-rte dist folder to "Web" project's node_modules's react-rte dist folder.
- Build Cloud2050.SharePoint.Web project