mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-27 08:30:02 +03:00
Do it differently
This commit is contained in:
parent
7a915e6252
commit
33ec062480
4
packages/react-json-tree/examples/.babelrc
Normal file
4
packages/react-json-tree/examples/.babelrc
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"presets": ["@babel/preset-env", "@babel/preset-react"],
|
||||
"plugins": ["@babel/plugin-proposal-class-properties"]
|
||||
}
|
|
@ -39,6 +39,7 @@
|
|||
"immutable": "^3.8.1",
|
||||
"react": "^16.0.0",
|
||||
"react-base16-styling": "^0.5.3",
|
||||
"react-dom": "^16.0.0"
|
||||
"react-dom": "^16.0.0",
|
||||
"react-json-tree": "^0.12.0"
|
||||
}
|
||||
}
|
||||
|
|
2
packages/react-json-tree/examples/src/App.js
vendored
2
packages/react-json-tree/examples/src/App.js
vendored
|
@ -1,6 +1,6 @@
|
|||
import React from 'react';
|
||||
import { Map } from 'immutable';
|
||||
import JSONTree from '../../src';
|
||||
import JSONTree from 'react-json-tree';
|
||||
|
||||
const getLabelStyle = ({ style }, nodeType, expanded) => ({
|
||||
style: {
|
||||
|
|
|
@ -19,13 +19,6 @@ module.exports = {
|
|||
plugins: [
|
||||
new webpack.HotModuleReplacementPlugin(),
|
||||
],
|
||||
resolve: {
|
||||
alias: {
|
||||
'react-json-tree/lib': path.join(__dirname, '..', 'src'),
|
||||
'react-json-tree': path.join(__dirname, '..', 'src')
|
||||
},
|
||||
extensions: ['.js']
|
||||
},
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user