import { parse } from 'acorn'; import spaces from '../../utils/spaces.js'; const scriptClosingTag = '<\/script>'; export default function readScript ( parser, start, attributes ) { const scriptStart = parser.index; const scriptEnd = parser.template.indexOf( scriptClosingTag, scriptStart ); if ( scriptEnd === -1 ) parser.error( `