tff-tailor
Version:
tailor for toursforfun frontend
18 lines (16 loc) • 409 B
JavaScript
/**
* @description webpack resolve
* @author Leon.Cai
*/
;
const Path = require("path");
module.exports = (config) => {
let
tailorConfig = config.tailor,
resolveLoaderConfig = config.resolveLoader,
extensions = resolveLoaderConfig.extensions;
return {
modules: [Path.join(tailorConfig.path, "./node_modules")],
cacheWithContext: true,
};
};