Revert "Revert "Switch kRegex to use RegExp with u directly"" (#15644)
* Revert "Revert "Switch `kRegex` to use RegExp with `u` directly" (#15643)"
This reverts commit 52375f57eb.
This commit is contained in:
1 parent
57253de199
commit
ccde7ca268
3 files changed
+8
-11
No files matched your search
@@ -258,6 +258,10 @@ function getEsbuildOptions({ file, files, shouldCollectLicenses, cliOptions }) {
|
||||
outfile: path.join(DIST_DIR, cliOptions.saveAs ?? file.output.file),
|
||||
// https://esbuild.github.io/api/#main-fields
|
||||
mainFields: file.platform === "node" ? ["module", "main"] : undefined,
|
||||
supported: {
|
||||
// https://github.com/evanw/esbuild/issues/3471
|
||||
"regexp-unicode-property-escapes": true,
|
||||
},
|
||||
};
|
||||
|
||||
if (file.platform === "universal") {
|
||||
|
||||
Reference in new issue
Block a user