fix: dependencies

This commit is contained in:
cha0s 2024-01-26 02:17:35 -06:00
parent fb98053c8d
commit 4c4041e89f
4 changed files with 24 additions and 3 deletions

View File

@ -1 +1 @@
exports.dependencies = ['@flecks/react-redux'];
exports.dependencies = ['@flecks/react/tabs', '@flecks/react-redux'];

View File

@ -0,0 +1,21 @@
const {dirname, join} = require('path');
exports.hooks = {
'@flecks/build.config': async (target, config, env, argv, flecks) => {
await Promise.all(
[
'remark-mdx',
'remark-parse',
'unified',
'unist-util-visit-parents',
].map(async (path) => {
console.log('dialog alias');
config.resolve.alias[path] = join(
dirname(await flecks.resolver.resolve('@avocado/dialog/package.json')),
'node_modules',
path,
);
}),
);
},
};

View File

@ -1 +1 @@
exports.dependencies = ['@avocado/graphics', '@flecks/react'];
exports.dependencies = ['@avocado/graphics', '@flecks/react', '@flecks/react/tabs'];

View File

@ -1 +1 @@
exports.dependencies = ['@flecks/react-redux'];
exports.dependencies = ['@flecks/react-redux', '@flecks/react/tabs'];