Skip to content
This repository was archived by the owner on Sep 7, 2022. It is now read-only.

Commit 0de5f79

Browse files
committed
revert the hack for build since the logic is in 7.2.0
1 parent 6070e8b commit 0de5f79

File tree

2 files changed

+4
-15
lines changed

2 files changed

+4
-15
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,12 @@
3030
"react-addons-test-utils": "^0.14.3",
3131
"react-dom": "^0.14.3",
3232
"skatejs": "^0.14.3",
33-
"skatejs-build": "^4.2.3",
33+
"skatejs-build": "^7.2.0",
3434
"webcomponents.js": "0.7.22"
3535
},
3636
"peerDependencies": {
37-
"react": ">=0.14.0"
37+
"react": ">=0.14.0",
38+
"react-dom": ">=0.14.0"
3839
},
3940
"config": {
4041
"commitizen": {

rollup.config.js

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1 @@
1-
const config = require('skatejs-build/rollup.config');
2-
const pkg = require('skatejs-build/package');
3-
4-
const deps = Object.keys(pkg.dependencies || []);
5-
config.external = id => {
6-
if (id === 'react' || id === 'react-dom') {
7-
return true;
8-
}
9-
10-
return deps.indexOf(id) > -1
11-
}
12-
13-
module.exports = config;
1+
module.exports = require('skatejs-build/rollup.config');

0 commit comments

Comments
 (0)