Skip to content

Commit

Permalink
Build-rollup should not depend on build-babel
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung committed Feb 19, 2021
1 parent 5f8a3a0 commit c63db14
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Gulpfile.mjs
Expand Up @@ -244,7 +244,8 @@ export default function resolveChain(baseUrl, ...packages) {
const require = createRequire(baseUrl);

return packages.reduce(
(base, pkg) => require.resolve(pkg, { paths: [path.dirname(base)] }),
(base, pkg) =>
require.resolve(pkg + "/package.json", { paths: [path.dirname(base)] }),
fileURLToPath(baseUrl)
);
}
Expand Down Expand Up @@ -310,7 +311,7 @@ function buildRollup(packages, targetBrowsers) {
import.meta.url,
"./packages/babel-helper-create-regexp-features-plugin",
"regexpu-core",
"regenerate-unicode-properties/package.json"
"regenerate-unicode-properties"
) + "/../**",
],
}),
Expand Down

0 comments on commit c63db14

Please sign in to comment.