Socket
Socket
Sign inDemoInstall

grunt-webpack

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-webpack - npm Package Compare versions

Comparing version 0.10.1 to 0.10.2

2

package.json
{
"name": "grunt-webpack",
"description": "Use webpack with grunt.",
"version": "0.10.1",
"version": "0.10.2",
"homepage": "https://github.com/webpack/grunt-webpack",

@@ -6,0 +6,0 @@ "author": {

@@ -19,2 +19,3 @@ # grunt-webpack

someName: {
// webpack options
entry: "./client/lib/index.js",

@@ -25,2 +26,10 @@ output: {

},
stats: {
// Configure the console output
colors: false,
modules: true,
reasons: true
},
storeStatsTo: "xyz", // writes the status to a variable named xyz

@@ -27,0 +36,0 @@ // you may use it later in grunt i.e. <%= xyz.hash %>

@@ -43,2 +43,4 @@ /*

var storeStatsTo = options.storeStatsTo;
var statsOptions = options.stats || {};
delete options.stats;
var compiler = webpack(options);

@@ -86,3 +88,3 @@

grunt.log.notverbose.writeln(stats.toString({
grunt.log.notverbose.writeln(stats.toString(grunt.util._.merge({
colors: true,

@@ -96,6 +98,6 @@ hash: false,

children: true
}));
grunt.verbose.writeln(stats.toString({
}, statsOptions)));
grunt.verbose.writeln(stats.toString(grunt.util._.merge({
colors: true
}));
}, statsOptions)));
if(typeof storeStatsTo === "string") {

@@ -102,0 +104,0 @@ grunt.config.set(storeStatsTo, stats.toJson());

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