mirror of
https://github.com/a2nt/silverstripe-webpack.git
synced 2024-10-22 17:05:31 +02:00
UPD: packages
This commit is contained in:
parent
1b691fd397
commit
7a9e0870c9
@ -134,8 +134,8 @@ module.exports = {
|
||||
externals: {
|
||||
// comment out jQuery if you don't use it to prevent bootstrap thinking that there's jQuery present
|
||||
//jquery: 'jQuery',
|
||||
//react: 'React',
|
||||
//'react-dom': 'ReactDOM',
|
||||
react: 'React',
|
||||
'react-dom': 'ReactDOM',
|
||||
},
|
||||
resolve: {
|
||||
modules: modules,
|
||||
@ -145,8 +145,8 @@ module.exports = {
|
||||
$: require.resolve('jquery'),
|
||||
jquery: require.resolve('jquery'),
|
||||
jQuery: require.resolve('jquery'),*/
|
||||
//react: require.resolve('react'),
|
||||
//'react-dom': require.resolve('react-dom'),
|
||||
react: require.resolve('react'),
|
||||
'react-dom': require.resolve('react-dom'),
|
||||
},
|
||||
fallback: {
|
||||
path: false
|
||||
|
Loading…
Reference in New Issue
Block a user