diff --git a/lib/compiler.js b/lib/compiler.js index b28bb20..43661cf 100644 --- a/lib/compiler.js +++ b/lib/compiler.js @@ -713,7 +713,7 @@ function buildAllMixinInstructions(appRootDir, mixinDirs, mixinSources, options, // Fetch unique list of mixin names, used in models var modelMixins = fetchMixinNamesUsedInModelInstructions(modelInstructions); - modelMixins = _.unique(modelMixins); + modelMixins = _.uniq(modelMixins); // Filter-in only mixins, that are used in models instructionsFromMixinSources = filterMixinInstructionsUsingWhitelist(