Skip to content

Commit f080114

Browse files
authored
refactor(weapp): revert webpack entry (#607)
1 parent 722762d commit f080114

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
"./dist/cjs/entry/index.js": "./dist/av-rn-min.js"
8383
},
8484
"weapp": {
85+
"@leancloud/platform-adapters-node": "@leancloud/platform-adapters-weapp",
8586
"./dist/cjs/entry/index.js": "./dist/av-weapp-min.js"
8687
},
8788
"typings": "./storage.d.ts",

src/entry/index-weapp.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

webpack/weapp.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
const { create, name } = require('./common');
1+
const { create, entry, name } = require('./common');
22

33
const config = create();
4-
const entry = './src/entry/index-weapp.js';
54

65
config.entry = {
76
[`${name}-weapp`]: entry,

0 commit comments

Comments
 (0)