New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gatsby-plugin-preact

Package Overview
Dependencies
Maintainers
1
Versions
521
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gatsby-plugin-preact - npm Package Compare versions

Comparing version 1.0.0-alpha12-alpha.1dc37e8b to 1.0.0-alpha12-alpha.1fdb9004

11

gatsby-node.js

@@ -1,15 +0,14 @@

'use strict';
"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`) {
config._config.resolve.alias = {
react: `preact-compat`,
'react-dom': `preact-compat`
"react-dom": `preact-compat`
};

@@ -16,0 +15,0 @@ }

{
"name": "gatsby-plugin-preact",
"version": "1.0.0-alpha12-alpha.1dc37e8b",
"version": "1.0.0-alpha12-alpha.1fdb9004",
"description": "A Gatsby plugin which replaces React with Preact",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc