Skip to content

希望支持.cjs 扩展名的编译 #7180

Description

@LuoYangYY

Describe the bug

我项目里引入了animejs包,它的模块解析链路是dist/modules/index.cjs,因为compileDependencies不支持.cjs文件的转义,在一些低版本手机比如iphone12里一些高级语法比如可选链 ?.就无法执行会报错

Expected behavior

ice3 框架支持.cjs 扩展名的编译

Actual behavior

No response

Version of ice.js

3.4.10

Content of build.json or ice.config.mts

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions