Skip to content

Commit

Permalink
misc(build): remove lighthouse shim no longer necessary for plugins (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjclark authored Nov 29, 2022
1 parent cb1fe5a commit 196bcfb
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions build/build-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,6 @@ async function buildBundle(entryPath, distPath, opts = {minify: true}) {
}),
rollupPlugins.shim({
...shimsObj,
// Allows for plugins to import lighthouse.
'lighthouse': `
import {Audit} from '${require.resolve('../core/audits/audit.js')}';
export {Audit};
`,
'url': `
export const URL = globalThis.URL;
export const fileURLToPath = url => url;
Expand Down

0 comments on commit 196bcfb

Please sign in to comment.