add test components

This commit is contained in:
zhandouxiaojiji committed 2020-10-09 16:11:20 +08:00
1 parent 034f8477b5
commit 09719f7788
5 files changed
+77 -1

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
module.exports = {
entry: "./src/index.tsx",
output: {
filename: "bundle.js",
path: __dirname + "/dist"
},
devtool: "source-map",
resolve: {
extensions: [".ts", ".tsx", ".js", ".json"]
},
module: {
rules: [
{ test: /\.tsx?$/, loader: "ts-loader" },
{ enforce: "pre", test: /\.js$/, loader: "source-map-loader" }
]
},
plugins: [
],
};