1 Star 0 Fork 1

Willin Wang/cloudflare-pageviews-worker

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
webpack.config.js 526 Bytes
一键复制 编辑 原始数据 按行查看 历史
Willin Wang 提交于 2021-12-29 14:44 . feat: :sparkles:inital version
const path = require('path');
module.exports = {
entry: './src/index.ts',
output: {
filename: 'worker.js',
path: path.join(__dirname, 'dist')
},
devtool: 'cheap-module-source-map',
mode: 'development',
resolve: {
extensions: ['.ts', '.tsx', '.js']
},
module: {
rules: [
{
test: /\.tsx?$/,
loader: 'ts-loader',
options: {
// transpileOnly is useful to skip typescript checks occasionally:
// transpileOnly: true,
}
}
]
}
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/willin/cloudflare-pageviews-worker.git
[email protected]:willin/cloudflare-pageviews-worker.git
willin
cloudflare-pageviews-worker
cloudflare-pageviews-worker
main

搜索帮助