更新配置,能够简单运行实例.

This commit is contained in:
ChenX
2018-10-12 17:02:10 +08:00
parent 2ef48e17c6
commit bda2b05204
66 changed files with 732 additions and 4481 deletions

View File

@@ -7,11 +7,11 @@ const config: webpack.Configuration = merge(
common,
{
mode: "production",
entry: "../src/index.ts",
entry: "./src/index.ts",
//输出设置
output: {
filename: "cad.js",
path: path.resolve(__dirname, '../umd'),
path: path.resolve(__dirname, './umd'),
library: "cad",
libraryTarget: "umd"
},