Skip to content

Commit

Permalink
chore: fix esbuild rollup error
Browse files Browse the repository at this point in the history
  • Loading branch information
ScriptedAlchemy committed Jul 22, 2024
1 parent f12c5ef commit 892f169
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/runtime/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ module.exports = (rollupConfig, projectOptions) => {
helpers: 'packages/runtime/src/helpers.ts',
};

const project = projectOptions.project;
const pkg = require(project);
const pkg = require('./package.json');

if (rollupConfig.output.format === 'esm' && FEDERATION_DEBUG) {
rollupConfig.output.format = 'iife';
Expand Down

0 comments on commit 892f169

Please sign in to comment.