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 '../../../react'
import JSONEditor from '../../../dist/jsoneditor-react'
const json = {

View File

@ -131,6 +131,8 @@ const compilerReact = webpack({
cache: true,
bail: true,
output: {
library: 'JSONEditor',
libraryTarget: 'umd',
path: DIST,
filename: NAME_REACT
},