You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I am currently working on a patch version of docx-templates for some custom modifications.
I am able to build and publish my patch to a private npm repository.
The library works fine when I use it in a node environment, however I seem to have not built the binaries right for the browser version.
The same patch version on the browser throws the following error when I import the library as shown here: import createReport from 'docx-templates';
Error when pointing to the locally built library: Error in v-on handler (Promise/async): "SyntaxError: The requested module '/xxxxxxxxxxxxxxx/repos/docx-templates-original/lib/index.js' does not provide an export named 'default'"
Can I please be pointed to the build and publish documentation used for the official release ?
Any help here would be much appreciated.
The text was updated successfully, but these errors were encountered:
Hello,
I am currently working on a patch version of
docx-templates
for some custom modifications.I am able to build and publish my patch to a private npm repository.
The library works fine when I use it in a node environment, however I seem to have not built the binaries right for the browser version.
The same patch version on the browser throws the following error when I import the library as shown here:
import createReport from 'docx-templates';
Error when pointing to the locally built library:
Error in v-on handler (Promise/async): "SyntaxError: The requested module '/xxxxxxxxxxxxxxx/repos/docx-templates-original/lib/index.js' does not provide an export named 'default'"
Can I please be pointed to the build and publish documentation used for the official release ?
Any help here would be much appreciated.
The text was updated successfully, but these errors were encountered: