Skip to content

Commit

Permalink
json import
Browse files Browse the repository at this point in the history
  • Loading branch information
RJWadley committed May 27, 2023
1 parent 22c164d commit 1808364
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/mdn/checkPartialSupport.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
import bcd from '@mdn/browser-compat-data';
import { createRequire } from 'module';

import browserslist from 'browserslist';

import { formatBrowserName } from '../../utils/util.js';

import { convertMdnSupportToBrowsers } from './convertMdnBrowser.js';

const require = createRequire(import.meta.url);
const bcd = require('@mdn/browser-compat-data');

/* browser compat data is littered with dangleys */
/* eslint-disable no-underscore-dangle */

Expand Down

0 comments on commit 1808364

Please sign in to comment.