Skip to content
#

Documentation

Documentation is a set of information that describes a product to its users, including what it is, how it operates, and how to use it.

Here are 7,318 public repositories matching this topic...

storybook
heyheyhello
heyheyhello commented Jul 15, 2021

Describe the bug

Hi I can't see any debug webpack output despite the option in the build-storybook --help section:

--debug-webpack     Display final webpack configurations for debugging purposes

It's never displayed and there's no txt log in the output directory either...

❯ npx build-storybook --debug-webpack
info @storybook/react v6.3.4
info 
info => Cleaning out
docusaurus
react-styleguidist
typedoc
cspotcode
cspotcode commented Jul 18, 2021

Search Terms

native ecmascript, esm, plugin

Problem

It would be nice to write TypeDoc plugins as ESM modules, using node's new native ESM support

Suggested Solution

typedoc can first try to require() the plugin, then if it gets an ERR_REQUIRE_ESM error, it can import() it instead. This will support both CJS and ESM and will also support CJS transpilers like ts-node.

Wikipedia
Wikipedia