gatsby-plugin-preact
Advanced tools
Comparing version 1.0.0-alpha12-alpha.81355cc0 to 1.0.0-alpha12-alpha.8370739a
"use strict"; | ||
exports.modifyWebpackConfig = function (_ref) { | ||
var args = _ref.args; | ||
var config = args.config, | ||
stage = args.stage; | ||
var config = _ref.config, | ||
stage = _ref.stage; | ||
// Requiring the server version of React-dom is hardcoded right now | ||
// in the development server. So we'll just avoid loading Preact there | ||
// for now. | ||
if (stage !== `develop-html`) { | ||
@@ -12,0 +11,0 @@ config._config.resolve.alias = { |
{ | ||
"name": "gatsby-plugin-preact", | ||
"version": "1.0.0-alpha12-alpha.81355cc0", | ||
"version": "1.0.0-alpha12-alpha.8370739a", | ||
"description": "A Gatsby plugin which replaces React with Preact", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
1983
15