diff --git a/scripts/pre-build/library/transformOtherAsset.js b/scripts/pre-build/library/transformOtherAsset.js index fdbb8ad11..296f038fa 100644 --- a/scripts/pre-build/library/transformOtherAsset.js +++ b/scripts/pre-build/library/transformOtherAsset.js @@ -18,13 +18,6 @@ const transformAsset = async (sourcePath, sourceContents) => { "displayOption: 'popup', // Line edited by pre-build script" ); } - // TODO: This transform is temporary. See https://github.com/w3c/wai-aria-practices/issues/225 - if (sourcePath.endsWith("content/patterns/feed/examples/js/feedDisplay.js")) { - return sourceContents.replace( - "'src=\"imgs/rating-' +", - "'src=\"../../../../../content-assets/wai-aria-practices/patterns/feed/examples/imgs/rating-' +" - ) - } return sourceContents; };