1

I want to generate document for .jsx files

.esdoc.json :

{
   "source": "./src/",
   "destination": "./doc" 
}

But esdoc just use .js files in ./src to generate document.

So how do i config esdoc to generate document for .jsx files?

fingerpich
  • 8,500
  • 2
  • 22
  • 32

1 Answers1

7
  "includes": ["\\.(js|jsx)$"],

I do not recall, but I may have had to modify the esdoc package to accept jsx.

Mark Robbins
  • 2,427
  • 3
  • 24
  • 33