How to use the interpolatename function from loader-utils

Find comprehensive JavaScript loader-utils.interpolatename code examples handpicked from public code repositorys.

66
67
68
69
70
71
72
73
74
75

options.classIdPrefix =
    classIdPrefix === true ?
        displayName + '__' :
        typeof classIdPref === 'string' ?
            lutils.interpolatename(context, classIdPrefix) :
            classIdPrefix;

if (params.filters) {
    filters =
fork icon0
star icon0
watch icon0