Try get react bundle working (js is ok, css still broken)
This commit is contained in:
parent
ba1eb2a837
commit
07f92467e7
|
@ -7,7 +7,7 @@ import './App.css'
|
|||
//
|
||||
// import JSONEditor from 'jsoneditor/react'
|
||||
//
|
||||
import JSONEditor from '../../../react'
|
||||
import JSONEditor from '../../../dist/jsoneditor-react'
|
||||
|
||||
|
||||
const json = {
|
||||
|
|
|
@ -131,6 +131,8 @@ const compilerReact = webpack({
|
|||
cache: true,
|
||||
bail: true,
|
||||
output: {
|
||||
library: 'JSONEditor',
|
||||
libraryTarget: 'umd',
|
||||
path: DIST,
|
||||
filename: NAME_REACT
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue