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

@easy-webpack/config-electron-renderer

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@easy-webpack/config-electron-renderer - npm Package Compare versions

Comparing version 1.3.1 to 1.3.2

11

dist/index.js

@@ -6,3 +6,3 @@ "use strict";

return function electronRenderer() {
return {
var config = {
metadata: {

@@ -15,5 +15,2 @@ ELECTRON: 'renderer'

].concat(this.entry) : this.entry,
output: {
publicPath: "http://" + this.metadata.host + ":" + this.metadata.port + "/"
},
plugins: (this.metadata.HMR ? [new webpack.HotModuleReplacementPlugin()] : [])

@@ -26,4 +23,10 @@ .concat(core_1.get(this, 'plugins', [])),

};
if (this.metadata.HMR) {
config.output = {
publicPath: "http://" + this.metadata.host + ":" + this.metadata.port + "/"
};
}
return config;
};
};
//# sourceMappingURL=index.js.map

@@ -55,3 +55,3 @@ {

},
"version": "1.3.1"
"version": "1.3.2"
}

@@ -9,3 +9,3 @@ import {WebpackConfig, get} from '@easy-webpack/core'

return function electronRenderer(this: WebpackConfig): WebpackConfig {
return {
const config = <WebpackConfig> {
metadata: {

@@ -21,6 +21,2 @@ ELECTRON: 'renderer'

output: {
publicPath: `http://${this.metadata.host}:${this.metadata.port}/`
},
plugins: (this.metadata.HMR ? [new webpack.HotModuleReplacementPlugin()] : [])

@@ -34,3 +30,11 @@ .concat(get(this, 'plugins', [])),

}
if (this.metadata.HMR) {
config.output = {
publicPath: `http://${this.metadata.host}:${this.metadata.port}/`
}
}
return config
}
}

Sorry, the diff of this file is not supported yet

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