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

vtex-render-session

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vtex-render-session - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

4

CHANGELOG.md

@@ -10,2 +10,6 @@ # Changelog

## [0.1.2] - 2018-12-12
### Changed
- Webpack mode fetched from env
## [0.1.1] - 2018-12-12

@@ -12,0 +16,0 @@

6

package.json
{
"name": "vtex-render-session",
"version": "0.1.1",
"version": "0.1.2",
"description": "Adds session as external to render runtime",

@@ -9,3 +9,5 @@ "scripts": {

"watch": "webpack --watch",
"build": "webpack --config ./webpack.config.js",
"build": "npm run clean && npm run buildProd && npm run buildDev",
"buildProd": "webpack --mode=\"production\" --config ./webpack.config.js",
"buildDev": "webpack --mode=\"development\" --config ./webpack.config.js",
"prereleasy": "npm run build",

@@ -12,0 +14,0 @@ "postreleasy": "npm publish"

'use strict';
const path = require('path');
const mode = 'production';
// const mode = 'development';
module.exports = {
module.exports = (env, {mode}) => ({
entry: {

@@ -54,2 +51,2 @@ 'render-session': ['index.ts'],

devtool: mode === "production" ? undefined: 'inline-source-map',
};
});
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