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 'jsoneditor/react'
|
||||||
//
|
//
|
||||||
import JSONEditor from '../../../react'
|
import JSONEditor from '../../../dist/jsoneditor-react'
|
||||||
|
|
||||||
|
|
||||||
const json = {
|
const json = {
|
||||||
|
|
|
@ -131,6 +131,8 @@ const compilerReact = webpack({
|
||||||
cache: true,
|
cache: true,
|
||||||
bail: true,
|
bail: true,
|
||||||
output: {
|
output: {
|
||||||
|
library: 'JSONEditor',
|
||||||
|
libraryTarget: 'umd',
|
||||||
path: DIST,
|
path: DIST,
|
||||||
filename: NAME_REACT
|
filename: NAME_REACT
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue