Ai
2 Star 5 Fork 4

agoraio-community/API-Examples-Web

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
webpack.config.js 527 Bytes
一键复制 编辑 原始数据 按行查看 历史
Qute臻 提交于 2024-01-11 12:17 +08:00 . feat: update extension demo
const path = require("path");
const ROOT = __dirname;
module.exports = {
mode: "production",
entry: path.resolve(ROOT, "src", "index.ts"),
output: {
path: path.resolve(ROOT, "dist"),
filename: "index.js",
library: {
type: "umd",
name: "SimpleExtension"
}
},
module: {
rules: [
{
test: /.ts$/,
include: path.resolve(ROOT, 'src'),
exclude: /node_modules/,
loader: 'babel-loader'
}
]
},
resolve: {
extensions: ['.ts', '.js']
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/agoraio-community/API-Examples-Web.git
git@gitee.com:agoraio-community/API-Examples-Web.git
agoraio-community
API-Examples-Web
API-Examples-Web
main

搜索帮助