File tree 2 files changed +4
-6
lines changed
2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " murmur-client" ,
3
3
"version" : " 0.3.9" ,
4
- "main" : " ./dist/index.js" ,
5
- "browser" : {
6
- "./dist/index.js" : " ./dist/client.js"
7
- },
4
+ "main" : " ./dist/node.js" ,
5
+ "browser" : " ./dist/browser.js" ,
8
6
"scripts" : {
9
7
"babel" : " babel" ,
10
8
"babel:node" : " npm-run-all babel:node:*" ,
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ const webConfig = {
15
15
path : path . resolve ( __dirname , "dist" ) ,
16
16
library : 'murmur' ,
17
17
libraryTarget : 'commonjs2' ,
18
- filename : 'client .js'
18
+ filename : 'browser .js'
19
19
} ,
20
20
module : {
21
21
rules : [
@@ -32,7 +32,7 @@ const nodeConfig = {
32
32
entry : path . join ( __dirname , "src/index.js" ) ,
33
33
output : {
34
34
path : path . resolve ( __dirname , "dist" ) ,
35
- filename : "server .js" ,
35
+ filename : "node .js" ,
36
36
library : 'murmur' ,
37
37
libraryTarget : 'commonjs2' ,
38
38
} ,
You can’t perform that action at this time.
0 commit comments