7 lines
199 B
JavaScript
7 lines
199 B
JavaScript
|
|
||
|
export default function moduleImport(moduleName) {
|
||
|
return import(
|
||
|
/* webpackInclude: /modules\/[a-z0-9-]+\/front\/index.js$/ */
|
||
|
`../modules/${moduleName}/front/index.js`
|
||
|
);
|
||
|
}
|