summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2016-11-30 16:22:57 -0500
committerAnthony G. Basile <blueness@gentoo.org>2016-11-30 16:22:57 -0500
commitfbf8cf39f7ec35489332158cb2f73ea535279e5b (patch)
treeb8025a3b964e60077492449c0e35bf675bcd6939 /plugins/jetpack/webpack.config.js
parentUpdate plugin openid to 3.4.2 (diff)
downloadblogs-gentoo-fbf8cf39f7ec35489332158cb2f73ea535279e5b.tar.gz
blogs-gentoo-fbf8cf39f7ec35489332158cb2f73ea535279e5b.tar.bz2
blogs-gentoo-fbf8cf39f7ec35489332158cb2f73ea535279e5b.zip
Update plugin jetpack to 4.4.1
Diffstat (limited to 'plugins/jetpack/webpack.config.js')
-rw-r--r--plugins/jetpack/webpack.config.js9
1 files changed, 7 insertions, 2 deletions
diff --git a/plugins/jetpack/webpack.config.js b/plugins/jetpack/webpack.config.js
index 0e04ef6f..a69bdc62 100644
--- a/plugins/jetpack/webpack.config.js
+++ b/plugins/jetpack/webpack.config.js
@@ -29,7 +29,6 @@ var webpackConfig = {
path: path.join( __dirname, '_inc/build' ),
filename: "[name].js"
},
- devtool: '#source-map',
module: {
// Webpack loaders are applied when a resource is matches the test case
@@ -95,7 +94,13 @@ var webpackConfig = {
}
}),
new ExtractTextPlugin( '[name].dops-style.css' )
- ]
+ ],
+ externals: {
+ 'react/addons': true,
+ 'react/lib/ExecutionEnvironment': true,
+ 'react/lib/ReactContext': true,
+ jsdom: 'window'
+ }
};
if ( NODE_ENV === 'production' ) {