fix(client): remove normalize.css from globals (#44403)

This commit is contained in:
Shaun Hamilton
2021-12-07 17:38:51 +00:00
committed by GitHub
parent 2a286d3fc6
commit 86cc757945
7 changed files with 13 additions and 34 deletions

View File

@@ -23,14 +23,6 @@ const frameRunner = [
}
];
const globalRequires = [
{
link:
'https://cdnjs.cloudflare.com/' +
'ajax/libs/normalize/4.2.0/normalize.min.css'
}
];
const applyFunction = fn =>
async function (file) {
try {
@@ -142,7 +134,7 @@ export function buildDOMChallenge(
{ challengeFiles, required = [], template = '' },
{ usesTestRunner } = { usesTestRunner: false }
) {
const finalRequires = [...globalRequires, ...required];
const finalRequires = [...required];
if (usesTestRunner) finalRequires.push(...frameRunner);
const loadEnzyme = challengeFiles.some(