developit / developit/nextjs-preact-demo

Errors in dynamic imports are silenced

Open
#14 2 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
JavaScript
Stars
381
Forks
21
PR merge metrics
No merged PRs in 30d

Description

### Current Behavior
no page error, no console output, no term output.

### Steps to Reproduce (for bugs)
```js
// pages/index.js
import dynamic from 'next/dynamic'
const TestLoader = dynamic(import('../components/Test'), { ssr: false})
export default () =>

// components/Test.js
throw new Error('test')
export default () =>

hello

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.