0.6.2 • Published 6 years ago
@mora/foe-mc v0.6.2
注意事项:
此模块中的所有文件都通过 src/index.ts
导出了,所以在使用的时候不要直接 import { Xxx } from 'foe-common'
,
需要使用 import { Xxx } from 'foe-common/dist/path/to/Xxx'
但在以 project-
或 example-
开头的项目中,由于使用了 webpack loader: mora-common/helper/index-loader
,
所以可以直接使用 import { Xxx } from 'foe-common'
, index-loader 会将它转化成 import { Xxx } from 'foe-common/dist/path/to/Xxx'
0.6.2
6 years ago