Try get react bundle working (js is ok, css still broken)

This commit is contained in:
jos 2017-01-10 20:03:09 +01:00
parent ba1eb2a837
commit 07f92467e7
2 changed files with 3 additions and 1 deletions

View File

@ -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 = {

View File

@ -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
}, },