Skip to content

Commit

Permalink
fix: load mods before and after passing refs
Browse files Browse the repository at this point in the history
  • Loading branch information
meenahoda committed Aug 26, 2021
1 parent 0325f5c commit 2a3f22e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/boot/load/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,19 @@ const discoverBlueprintDirs = require('./discover-blueprint-dirs')
const extractRefProperties = require('./extract-ref-properties')
const buildPaths = require('./build-paths')
const processExclusions = require('./process-exclusions')

const tymlyLoader = require('./tymly-loader')
const modLoader = require('./load-mods')

function load (options) {
options.messages.heading('Loading')

const plugins = loadPlugins(options)

const blueprints = loadBlueprints(plugins, options)
modLoader(blueprints.components, options)

return {
pluginPaths: plugins.paths,
pluginComponents: plugins.components,

blueprintPaths: blueprints.paths,
blueprintComponents: blueprints.components,
blueprintRefs: blueprints.tymlyRefs
Expand Down

0 comments on commit 2a3f22e

Please sign in to comment.