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: {
|
externals: {
|
||||||
// comment out jQuery if you don't use it to prevent bootstrap thinking that there's jQuery present
|
// comment out jQuery if you don't use it to prevent bootstrap thinking that there's jQuery present
|
||||||
//jquery: 'jQuery',
|
//jquery: 'jQuery',
|
||||||
//react: 'React',
|
react: 'React',
|
||||||
//'react-dom': 'ReactDOM',
|
'react-dom': 'ReactDOM',
|
||||||
},
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
modules: modules,
|
modules: modules,
|
||||||
@ -145,8 +145,8 @@ module.exports = {
|
|||||||
$: require.resolve('jquery'),
|
$: require.resolve('jquery'),
|
||||||
jquery: require.resolve('jquery'),
|
jquery: require.resolve('jquery'),
|
||||||
jQuery: require.resolve('jquery'),*/
|
jQuery: require.resolve('jquery'),*/
|
||||||
//react: require.resolve('react'),
|
react: require.resolve('react'),
|
||||||
//'react-dom': require.resolve('react-dom'),
|
'react-dom': require.resolve('react-dom'),
|
||||||
},
|
},
|
||||||
fallback: {
|
fallback: {
|
||||||
path: false
|
path: false
|
||||||
|
Loading…
Reference in New Issue
Block a user