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
I want to have my import paths read with the actual values used by the programmers when consuming my library. Presently, the plugin always reads in my package name from ./package.json, even when I set package: null in my esdoc.json file.
Then, package: null in esdoc.json will nullify the default and cause the final else clause above to actually get hit. Then, in the plugin configuration, I can simply do this:
If there's another way of accomplishing this without setting package: null, I'm all ears, but I really want my import statements in my documentation to read like
import{func}from'lib/funcs';
and not
import{func}from'APP_NAME/js/lib/funcs';
The text was updated successfully, but these errors were encountered:
I want to have my import paths read with the actual values used by the programmers when consuming my library. Presently, the plugin always reads in my package name from
./package.json
, even when I setpackage: null
in myesdoc.json
file.This is the problem:
I can get my desired behavior by changing
onHandleConfig
to this:Then,
package: null
inesdoc.json
will nullify the default and cause the finalelse
clause above to actually get hit. Then, in the plugin configuration, I can simply do this:If there's another way of accomplishing this without setting
package: null
, I'm all ears, but I really want my import statements in my documentation to read likeand not
The text was updated successfully, but these errors were encountered: