Skip to content

[Bug]: shaking module variables in transform #1957

@HuJean

Description

@HuJean

System Info

none

Details

shaking module variables, like __webpack_public_path__, in transform

Reproduce link

None

Reproduce Steps

Input

__webpack_public_path__="a";
import { Component } from "@lynx-js/react-runtime";
export class A extends Component {}

Now output is

"a";
import { Component } from "@lynx-js/react-runtime";
export class A extends Component {}

Metadata

Metadata

Assignees

Labels

pending triageThe issue/PR is currently untouched.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions