alibaba / alibaba/ice

Server 端构建时忽略 external 配置项

Open
#6,284 3 comments 0 reactions 1 assignee Claimed by @chenjun1011 View on GitHub
rfc urgent
Dominant language
TypeScript
Stars
18.6k
Forks
2.1k
PR merge metrics
No merged PRs in 30d

Description

### Summary | 概述

_No response_

### Motivation | 背景

Server 端产物为 node.js 执行的文件,在这个环境下 external 的使用方式会需要在 node 执行环境中提前加载一份外置 JS,故建议在 Server 端构建时忽略 external 配置项

### Usage example | 使用示例

_No response_

### Detailed design | 方案设计

在 server bundle 构建过程中忽略 external 配置项

### Additional context | 额外信息

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.