fix(client): stop injecting extra comments into preview (#44723)
This commit is contained in:
committed by
GitHub
parent
e97920ae9c
commit
a00788417a
@@ -105,8 +105,6 @@ async function loadPresetReact() {
|
||||
const babelTransformCode = options => code =>
|
||||
Babel.transform(code, options).code;
|
||||
|
||||
// const sourceReg =
|
||||
// /(<!-- fcc-start-source -->)([\s\S]*?)(?=<!-- fcc-end-source -->)/g;
|
||||
const NBSPReg = new RegExp(String.fromCharCode(160), 'g');
|
||||
|
||||
const testJS = matchesProperty('ext', 'js');
|
||||
|
Reference in New Issue
Block a user