We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The use of '//# ' in prefixes (with an space) will crash on files with the '//# sourceMap=...' directive.
'//# '
'//# sourceMap=...'
I will fix this issue ASAP.
The text was updated successfully, but these errors were encountered:
The issue was generated by TypeScript v3 in this fragment:
const _R = { // ... concat(routes: IRoute | IRoute[], cb?: EnterFn) { _deprecated('concat', 'add') return R.add(routes, cb) }, //#if process.env.BUILD === 'test' _split, _normalize, //#endif }
TS output:
const _R = { // ... concat(routes: IRoute | IRoute[], cb?: EnterFn) { _deprecated('concat', 'add') return R.add(routes, cb) }, //#if process.env.BUILD === 'test' _split, _normalize, }
Moving up the conditional block fixes the issue:
const _R = { // ... //#if process.env.BUILD === 'test' _split, _normalize, //#endif concat(routes: IRoute | IRoute[], cb?: EnterFn) { _deprecated('concat', 'add') return R.add(routes, cb) }, }
Sorry, something went wrong.
No branches or pull requests
The use of
'//# '
in prefixes (with an space) will crash on files with the'//# sourceMap=...'
directive.I will fix this issue ASAP.
The text was updated successfully, but these errors were encountered: