addSkeletonRoutes(clientConfig) {
        let {globals, build} = this.config;
        let skeletonRelativePath = build.skeleton && build.skeleton.path || DEFAULT_SKELETON_PATH;
        clientConfig.module.rules.push(SkeletonWebpackPlugin.loader({
            resource: [join(globals.rootDir, '.lavas/router')],
            options: {
                entry: [DEFAULT_ENTRY_NAME],
                importTemplate: `import [nameHash] from '@/${skeletonRelativePath}';`,
                routePathTemplate: '/skeleton-[name]',
                insertAfter: 'let routes = ['
            }
        }));
    }
add skeleton routes in development mode

@param {Object} clientConfig webpack client config