Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

think of typescript | WTW's Frontend #52

Open
white-than-wood opened this issue Jun 3, 2022 · 1 comment
Open

think of typescript | WTW's Frontend #52

white-than-wood opened this issue Jun 3, 2022 · 1 comment

Comments

@white-than-wood
Copy link
Owner

https://white-than-wood.zone/2022/05/26/thinkoftypescript/

typescript配置{“module”: “umd”} 问题1 近期在配置typescript配合webpack构建打包项目时发现,tsconfig.json里配置模块导入导出模式为{“module”:”umd”},webpack使用ts-loader来处理,导入导出的模块模式同样使用{libraryTarget: ‘umd’} or output -> library: {typ

@white-than-wood
Copy link
Owner Author

请多多支持~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant