Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

Commit c25f6c7

Browse files
committed
Specify full entry path
1 parent 171dec4 commit c25f6c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const packageName = JSON.parse(fs.readFileSync("package.json", "utf8")).name;
77
const libraryName = packageName.replace(/(^|-)(.)/g, (match, _, c) => (c ? c.toUpperCase() : ""));
88

99
const config = {
10-
entry: "./src/index",
10+
entry: "./src/index.ts",
1111
devtool: "sourcemap",
1212
resolve: { extensions: [".ts", ".tsx", ".js"] },
1313
module: {

0 commit comments

Comments
 (0)