OfficeDev / Office-Addin-TaskPane-React

Template to get start started writing a TaskPane Office Add-in for the React framework using TypeScript
Other
53 stars 34 forks source link

Add file type support for React #149

Closed davidchesnut closed 4 months ago

davidchesnut commented 5 months ago

Thank you for your pull request! Please provide the following information.


Change Description:

The template is broken and won't build and run as you will get multiple errors about ttf, woff, and woff2 file types from React usage. This PR updates the webpack.config.js to include these additional file types so they will load correctly.

  1. Do these changes impact any npm scripts commands (in package.json)? (e.g., running 'npm run start') If Yes, briefly describe what is impacted. No.

  2. Do these changes impact VS Code debugging options (launch.json)? If Yes, briefly describe what is impacted. No.

  3. Do these changes impact template output? (e.g., add/remove file, update file location, update file contents) If Yes, briefly describe what is impacted. No.

  4. Do these changes impact documentation? (e.g., a tutorial on https://docs.microsoft.com/en-us/office/dev/add-ins/overview/office-add-ins) If Yes, briefly describe what is impacted. No.

If you answered yes to any of these please do the following:

Include 'Rick-Kirkham' in the review Make sure the README file is correct

Validation/testing performed:

Describe manual testing done.