mirror of
https://github.com/chinchang/web-maker.git
synced 2025-05-19 08:39:42 +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:
parent
e29a9afafc
commit
8c87d0a06d
@ -33,12 +33,12 @@ window.jsLibs = [
|
||||
},
|
||||
{
|
||||
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',
|
||||
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',
|
||||
type: 'js'
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user