From da18a354468ee3b5269d6ba95461a455d9094a50 Mon Sep 17 00:00:00 2001 From: cha0s Date: Sat, 27 Jan 2024 03:51:03 -0600 Subject: [PATCH] refactor: derp --- packages/dialog/build/flecks.bootstrap.js | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 packages/dialog/build/flecks.bootstrap.js diff --git a/packages/dialog/build/flecks.bootstrap.js b/packages/dialog/build/flecks.bootstrap.js deleted file mode 100644 index c6b4996..0000000 --- a/packages/dialog/build/flecks.bootstrap.js +++ /dev/null @@ -1,20 +0,0 @@ -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) => { - config.resolve.alias[path] = join( - dirname(await flecks.resolver.resolve('@avocado/dialog/package.json')), - 'node_modules', - path, - ); - }), - ); - }, -};