We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4615e93 commit f2af1a7Copy full SHA for f2af1a7
demo/next.config.js
@@ -2,6 +2,10 @@ const path = require('path');
2
3
module.exports = {
4
webpack: config => {
5
+ if (process.env.CONTEXT) {
6
+ return config;
7
+ }
8
+
9
config.resolve.alias = {
10
'react-live': path.resolve('../'),
11
react: path.resolve('../node_modules/react'),
demo/package.json
@@ -17,6 +17,11 @@
17
"module-alias": "^2.0.0",
18
"next": "^5.0.0",
19
"polished": "^1.0.2",
20
- "styled-components": "^3.1.6"
+ "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"
26
}
27
0 commit comments