Skip to content
This repository was archived by the owner on Nov 18, 2021. It is now read-only.

Commit cfdd80e

Browse files
committed
匹配 package.json 中的文件名
1 parent f15d69a commit cfdd80e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
/coverage/
33
/dist/
44
/declaration/
5-
/.rpt2_cache/
5+
/.*/

build/config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ module.exports = {
88
tp: typescript({
99
useTsconfigDeclarationDir: true
1010
}),
11-
esOutputPath: path.resolve(__dirname, '../dist/connect.esm.js'),
12-
cjsOutputPath: path.resolve(__dirname, '../dist/connect.common.js'),
13-
umdOutputPath: path.resolve(__dirname, '../dist/connect.js'),
14-
umdMinOutputPath: path.resolve(__dirname, '../dist/connect.min.js'),
11+
esOutputPath: path.resolve(__dirname, '../dist/chrome-connect.esm.js'),
12+
cjsOutputPath: path.resolve(__dirname, '../dist/chrome-connect.common.js'),
13+
umdOutputPath: path.resolve(__dirname, '../dist/chrome-connect.js'),
14+
umdMinOutputPath: path.resolve(__dirname, '../dist/chrome-connect.min.js'),
1515
banner: [
1616
'/*!',
1717
' * chrome-connect v' + pkg.version,

0 commit comments

Comments
 (0)