-
Notifications
You must be signed in to change notification settings - Fork 2
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
Build to ESM: auto add .js
extension
#103
Labels
Comments
不从裸模块导入: import { html, render } from 'lit-html/xxx.js';
import { GemElement, html } from '@mantou/gem/lib/element.js';
import './use.js';
export { guard } from 'lit-html/directives/guard.js'; 浏览器使用: {
"imports": {
"lit-html/": "xxxxx/",
"@mantou/gem/": "xxxx/"
}
} |
create tool
https://github.com/justkey007/tsc-alias No integrated |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
一个调用 tsc 的脚本 // swc?
让构建产物直接支持浏览器 module 加载
type: "module"
.js
扩展名The text was updated successfully, but these errors were encountered: