We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c8abb3 commit 3f6b83bCopy full SHA for 3f6b83b
packages/core/src/lib/plugin_manager.js
@@ -41,9 +41,7 @@ const plugin_manager = function() {
41
foundPlugins.forEach(plugin => {
42
logger.info(`Found plugin: ${plugin}`);
43
logger.info(`Attempting to load and initialize plugin.`);
44
- const pluginModule = loadPlugin(
45
- path.join(process.cwd(), 'node_modules', plugin)
46
- );
+ const pluginModule = loadPlugin(path.join(plugin));
47
pluginModule(patternlab);
48
});
49
}
0 commit comments