Skip to content

Commit

Permalink
Update rollup external definition
Browse files Browse the repository at this point in the history
Looks like they made a breaking change in a minor release: rollup/rollup#4021
  • Loading branch information
marvinhagemeister committed Aug 29, 2021
1 parent 2600ae2 commit b291d4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/wmr/src/plugins/npm-plugin/index.js
Expand Up @@ -103,7 +103,7 @@ export default function npmPlugin({ publicPath = '/@npm', prefix = 'npm/', exter
const versionTag = emitVersion && meta.version ? '@' + meta.version : '';
id = `${meta.module}${versionTag}${meta.path ? '/' + meta.path : ''}`;

return { id: `${publicPath}/${id}`, external: true };
return { id: `${publicPath}/${id}`, external: 'absolute' };
}

// Compute the final path
Expand Down

0 comments on commit b291d4f

Please sign in to comment.