1 Star 0 Fork 0

ZHJEE/OrCAD_Capture_TCL_Extension_for_VScode

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
webpack.config.js 687 Bytes
一键复制 编辑 原始数据 按行查看 历史
James Deucker 提交于 2021-01-14 18:19 +08:00 . move to webpack
//@ts-check
'use strict';
const path = require('path');
/**@type {import('webpack').Configuration}*/
const config = {
target: 'node',
entry: './src/extension.ts',
output: {
path: path.resolve(__dirname, 'out'),
filename: 'extension.js',
libraryTarget: 'commonjs2',
devtoolModuleFilenameTemplate: '../[resource-path]'
},
devtool: 'source-map',
externals: {
vscode: 'commonjs vscode'
},
resolve: {
extensions: ['.ts', '.js']
},
module: {
rules: [
{
test: /\.ts$/,
exclude: /node_modules/,
use: [
{
loader: 'ts-loader'
}
]
}
]
}
};
module.exports = config;
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/ZHJEE/OrCAD_Capture_TCL.git
git@gitee.com:ZHJEE/OrCAD_Capture_TCL.git
ZHJEE
OrCAD_Capture_TCL
OrCAD_Capture_TCL_Extension_for_VScode
master

搜索帮助