`elm-package.json` 中的 `exposed-modules` 做什么?
What does `exposed-modules` do in `elm-package.json`?
elm-package.json
中的 exposed-modules
属性 有什么用?
或者更好的是,如果有人 link 有这方面的文档。
谢谢!
它用于编写用于分发的 Elm 包。
exposed-modules
lets you expose some small set of modules. Use this to stop internal details from polluting your API and cluttering the docs with modules that are not meant for users.
elm-package.json
中的 exposed-modules
属性 有什么用?
或者更好的是,如果有人 link 有这方面的文档。
谢谢!
它用于编写用于分发的 Elm 包。
exposed-modules
lets you expose some small set of modules. Use this to stop internal details from polluting your API and cluttering the docs with modules that are not meant for users.