Disable AMD - #6018
Conversation
Disable AMD and solve swagger client issues since there is no intention of supporting it: react#3247 (comment)
|
I've also seen an alternative way to disable AMD: https://github.com/webpack-contrib/imports-loader#disable-amd Can you please explain the difference between the two? p.s. thanks for the PR! |
|
@Timer Well, disabling it via While doing it via imports-loader sets the |
|
I just want to make sure we can still load a UMD module that specifies AMD and it's not broken using this proposed option. Can we add an e2e test for this, please? |
|
Hi @martnu! Could you please tell us why you closed this? |
|
I suggest using another client generation language for swagger, for instance typescript-fetch. This will generate a commonjs-friendly client. |
|
Sure, but we still want to disable AMD for other users! |
Disable AMD and solve swagger client issues since there is no intention of supporting it:
#3247 (comment)