Dolan

Results 153 comments of Dolan

Fixed in a PR Now there is a dedicated `Tab` object which has perfect compatability Example of usage: https://github.com/dolanmiu/docx/blob/master/demo/1-basic.ts

> allowing to specify the fileName would help reducing the document size if the same image is included several times This one is done now! > allowing to specify the...

Ok, I see the issue, maybe changing the API to allow for both options is a good idea

Very interesting that the ordering matters, will make a fix soon

Strange I republished this as a ES6 module, and I tried this on Angular with npm link, and it worked fine I will investigate later

It works for me just fine, I am using `7.1.1` right now in Angular, downloaded fresh from `npm` Could you double check? ![Screenshot 2021-09-30 at 22 40 50](https://user-images.githubusercontent.com/2917613/135533992-2e8b0e6c-cf01-4add-992b-6aa9056a28c2.png)

can you reproduce it on CodePen or StackBlitz? I can't seem to find the problem for me

How does it work in v6, do you know? Does this mean v6 is both commonjs and esm?

I have been researching, and it all points to this: https://www.sensedeep.com/blog/posts/2021/how-to-create-single-source-npm-module.html I wasn't doing any Hybrid magic before, so I am unsure why it needs to be done now?