rsnext/test/integration/basic/pages/dynamic/chunkfilename.js
Bertrand Marron 2eeebacb4c Keep chunks filenames in production mode (#5029)
* Keep chunks filenames in production mode

* Add test for new `[name]` behavior

* Rename static/dll to static/development/dll
2018-09-03 01:40:21 +02:00

5 lines
165 B
JavaScript

import dynamic from 'next/dynamic'
const Hello = dynamic(import(/* webpackChunkName: 'hello-world' */'../../components/hello-chunkfilename'))
export default Hello