Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
model =>
`import(${
opts.dynamicImport.webpackChunkName
? `/* webpackChunkName: '${chunkName(paths.cwd, model)}' */`
: ''
}'${model}').then(m => { return { namespace: '${basename(
model,
extname(model),
)}',...m.default}})`,
)