-
I try to import unifiedjs in a sharepoint web part, based on typescript. [14:56:53] Error - [webpack] 'dist': |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Welcome @fhg-isi! 👋 I'm not sure how anyone could help you with your configuration when you don't share what build tool you are using, what version of libraries you are using, and what your configuration is. My educated guess from "SharePoint" being in the title is you are facing the same issue as micromark/micromark#161 The solution is to upgrade your build tool. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the reply and your guess. I followed the sharepoint web part tutorial, using yo generator: I downgraded to version 10.0.1 of unified and that work. No need for extra config entries. I also run into issues with myst-to-html and had to adapt the WebPack configuration of SharePoint: |
Beta Was this translation helpful? Give feedback.
Thank you for the reply and your guess. I followed the sharepoint web part tutorial, using yo generator:
https://learn.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/build-a-hello-world-web-part
I downgraded to version 10.0.1 of unified and that work. No need for extra config entries.
Also see
https://stackoverflow.com/a/77862518/2876079
I also run into issues with myst-to-html and had to adapt the WebPack configuration of SharePoint:
https://stackoverflow.com/questions/77707969/how-to-use-myst-parser-for-sharepoint-web-part/77862543#77862543