fix: dependencies
This commit is contained in:
parent
fb98053c8d
commit
4c4041e89f
|
@ -1 +1 @@
|
|||
exports.dependencies = ['@flecks/react-redux'];
|
||||
exports.dependencies = ['@flecks/react/tabs', '@flecks/react-redux'];
|
||||
|
|
21
packages/dialog/build/flecks.bootstrap.js
Normal file
21
packages/dialog/build/flecks.bootstrap.js
Normal 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,
|
||||
);
|
||||
}),
|
||||
);
|
||||
},
|
||||
};
|
|
@ -1 +1 @@
|
|||
exports.dependencies = ['@avocado/graphics', '@flecks/react'];
|
||||
exports.dependencies = ['@avocado/graphics', '@flecks/react', '@flecks/react/tabs'];
|
||||
|
|
|
@ -1 +1 @@
|
|||
exports.dependencies = ['@flecks/react-redux'];
|
||||
exports.dependencies = ['@flecks/react-redux', '@flecks/react/tabs'];
|
||||
|
|
Loading…
Reference in New Issue
Block a user