Files

21 lines
555 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Module Speciconssrc/iconSVG 自动加载)
module:
id: icons
name: SVG Iconssrc/icon require.context 自动加载)
type: ui
entrypoints:
- src/icon/index.ts
- src/icon/*.svg
public_api:
concept:
- "通过 require.context 自动加载 src/icon 下的 svg构建期打包进 sprite/资源管线,取决于 webpack 配置)"
dependency_closure:
bundler:
- "webpack require.context"
acceptance:
- "启动后 svg 资源被打包且可引用(具体引用方式取决于项目现有 svg loader 配置)"