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

storefront-webpack-config

Package Overview
Dependencies
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

storefront-webpack-config - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

8

lib/output.js
var path = require('path');
var localPkg = require.resolve(path.join(process.cwd(), 'package.json'));
var localMeta = require.resolve(path.join(process.cwd(), 'meta.json'));
var localManifest = require.resolve(path.join(process.cwd(), 'manifest.json'));
var pkg = require(localPkg);
var meta = require(localMeta);
var manifest = require(localManifest);
var publicPath = '/assets/@' + meta.vendor + '.' + meta.name + '/';
var publicPath = '/assets/@' + manifest.vendor + '.' + manifest.name + '/';

@@ -15,3 +15,3 @@ module.exports = function (config, env, options) {

chunkFilename: '[name].js',
jsonpFunction: 'webpackJsonp_' + meta.vendor.replace(/\-/g, '') + '_' + meta.name.replace(/\-/g, ''),
jsonpFunction: 'webpackJsonp_' + manifest.vendor.replace(/\-/g, '') + '_' + manifest.name.replace(/\-/g, ''),
devtoolModuleFilenameTemplate: 'webpack:///' + pkg.name + '/[resource]'

@@ -18,0 +18,0 @@ };

{
"name": "storefront-webpack-config",
"version": "1.2.1",
"version": "1.2.2",
"description": "Default storefront webpack config",

@@ -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