rsnext/test/integration/basic/pages/dynamic/index.js
Arunoda Susiripala 0c4362e440 Load chunks in SSR mode only if they exists in the filesystem (#2196)
* Always check with the fs when gettings chunks.

* Add a new set of test cases for dynamic imports in dev.

* Add dynamic import test cases for production.

* Add availableChunks support for static exports.
2017-06-08 19:41:22 +02:00

7 lines
130 B
JavaScript

import Link from 'next/link'
export default () => (
<div>
<Link href='/dynamic/no-chunk'><a>No Chunk</a></Link>
</div>
)