Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

swc-loader

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swc-loader - npm Package Compare versions

Comparing version 0.1.12 to 0.1.13

2

package.json
{
"name": "swc-loader",
"version": "0.1.12",
"version": "0.1.13",
"description": "Webpack plugin for swc",

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

@@ -61,2 +61,9 @@ const loaderUtils = require("loader-utils");

// auto detect development mode
if (this.mode && programmaticOptions.jsc && programmaticOptions.jsc.transform
&& programmaticOptions.jsc.transform.react &&
!Object.prototype.hasOwnProperty.call(programmaticOptions.jsc.transform.react, "development")) {
programmaticOptions.jsc.transform.react.development = this.mode === 'development'
}
if (programmaticOptions.sourceMaps === "inline") {

@@ -63,0 +70,0 @@ // Babel has this weird behavior where if you set "inline", we

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