mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-13 01:56:24 +02:00
Use UMD React and ReactDOM
For now Web Maker does not support import/require statements So CommonJs libs are useless. Use UMD.
This commit is contained in:
@ -33,12 +33,12 @@ window.jsLibs = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
url:
|
url:
|
||||||
'https://cdnjs.cloudflare.com/ajax/libs/react/16.2.0/cjs/react.production.min.js',
|
'https://cdnjs.cloudflare.com/ajax/libs/react/16.2.0/umd/react.production.min.js',
|
||||||
label: 'React',
|
label: 'React',
|
||||||
type: 'js'
|
type: 'js'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
url: 'https://cdnjs.cloudflare.com/ajax/libs/react/15.6.1/react-dom.min.js',
|
url: 'https://cdnjs.cloudflare.com/ajax/libs/react-dom/16.2.0/umd/react-dom.production.min.js',
|
||||||
label: 'React DOM',
|
label: 'React DOM',
|
||||||
type: 'js'
|
type: 'js'
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user