Skip to content

Commit f2af1a7

Browse files
committed
Add missing demo dependencies
1 parent 4615e93 commit f2af1a7

File tree

3 files changed

+255
-47
lines changed

3 files changed

+255
-47
lines changed

demo/next.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ const path = require('path');
22

33
module.exports = {
44
webpack: config => {
5+
if (process.env.CONTEXT) {
6+
return config;
7+
}
8+
59
config.resolve.alias = {
610
'react-live': path.resolve('../'),
711
react: path.resolve('../node_modules/react'),

demo/package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@
1717
"module-alias": "^2.0.0",
1818
"next": "^5.0.0",
1919
"polished": "^1.0.2",
20-
"styled-components": "^3.1.6"
20+
"react": "^16.9.0",
21+
"react-dom": "^16.9.0",
22+
"react-is": "^16.9.0",
23+
"react-live": "^2.1.2",
24+
"styled-components": "^5.0.0-beta.8",
25+
"stylis": "^3.5.4"
2126
}
2227
}

0 commit comments

Comments
 (0)