Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(es/codegen): Fix replacement when
inline_script
is on (#8659)
**Description:** The replacements for `inline_script` might be with mistake https://github.com/swc-project/swc/blob/40682c8d1f55b42b0a086487e740e975244ed42a/crates/swc_ecma_codegen/src/lib.rs#L649 which in terser is: ![image](https://github.com/swc-project/swc/assets/18117084/e843e125-c001-44d1-9572-15bec355a34e) https://github.com/terser/terser/blob/0ef05847fa8c892c109b6d8a9415e9463f3e0995/lib/output.js?plain=1#L414 **Related issue:** web-infra-dev/rspack#5757
- Loading branch information