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

fix: ts config and package update for fixing reference #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

flyguolai
Copy link

fix: use import img from 'a/b/c.png'

update: reference for url-loader

把reference去掉然后使用include引入 d.ts 的类型定义

"esModuleInterop": true 增加了这个选项以实现 import img from './a/b/c'

在生成项目里加了ts-loader和url-loader以实现npx autojs build等命令

fix: use import img from 'a/b/c.png'

update: reference for url-loader
@ywzhaiqi
Copy link

ywzhaiqi commented May 3, 2020

这个有效。原来的 autojs create <filename> 无法使用 d.ts

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

Successfully merging this pull request may close these issues.

2 participants