Skip to content

Commit

Permalink
feature: Migrated to Webpack v5
Browse files Browse the repository at this point in the history
Signed-off-by: Jaid <jaid.jsx@gmail.com>
  • Loading branch information
Jaid committed May 22, 2021
1 parent c951a80 commit c317a99
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,12 @@ export default class {

for (const {name, modulePath, configFactory, postProcess} of setups) {
const {configPath, config} = configFactory(compilation, configBase, modulePath, this.options, tempDir)
debug(`${name}: Calling jsdoc-api with entry point ${compiler.options.entry} and configuration ${configPath}`)
debug(`CLI equivalent: DEBUG=* ${path.join(compiler.context, "node_modules", ".bin", "jsdoc")} --verbose --configure ${configPath} ${compiler.options.entry}`)
const entry = compiler.options.entry.main.import[0]
debug(`${name}: Calling jsdoc-api with entry point ${entry} and configuration ${configPath}`)
debug(`CLI equivalent: DEBUG=* ${path.join(compiler.context, "node_modules", ".bin", "jsdoc")} --verbose --configure ${configPath} ${entry}`)
fss.ensureDir(config.opts.destination)
renderSync({
files: compiler.options.entry,
files: entry,
configure: configPath,
})
if (!fss.pathExists(config.opts.destination)) {
Expand Down

0 comments on commit c317a99

Please sign in to comment.