Opened 7 years ago

Last modified 6 years ago

#18438 closed defect

Loader only strips strict-mode directive with double quotes — at Initial Version

Reported by: Bryan Forbes Owned by: Rawld Gill
Priority: high Milestone: 1.8.11
Component: Loader Version: 1.10.3
Keywords: Cc:
Blocked By: Blocking:

Description

Currently, the loader, when configured with stripStrict: true only strips "use strict" and not 'use strict'. The regular expression should be updated to strip the single-quoted version as well. I will be submitting a pull request to address this issue.

Change History (0)

Note: See TracTickets for help on using tickets.