ERROR #98124 WEBPACK
Generating development JavaScript bundle failed
Can't resolve './/public/tux.png' in 'my-docz-app/src'
If you're trying to use a package make sure that './/public/tux.png' is installed. If you're trying to use a local file make sure that the path is correct.
File: ../src/index.mdx
To Reproduce
npx create-docz-app my-docz-app --example images && cd my-docz-app
Change src/index.mdx images to absolute image references
![Tux](/public/tux.png)
Run yarn dev
Observe build error
Expected behavior
The same rendered output as the images example using relative file references.
Bug Report
Describe the bug
As per the documentation for the
public
settting an example is shown for the public setting and how it may be used to get images:Then you can get assets from your folder:
This doesn't work. The bug is along the lines:
To Reproduce
Observe build error
Expected behavior
The same rendered output as the images example using relative file references.
Environment