From 31e12aebdc0f61fb327f6ce32166af6ee4dd14d3 Mon Sep 17 00:00:00 2001 From: Spencer Elliott Date: Fri, 8 Jun 2018 15:14:07 -0700 Subject: [PATCH] fix: allow invocation from webpack/bin/webpack.js Use lib/cli.js as the package.json "main" field so that webpack-command can be invoked via webpack/bin/webpack.js --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 572f3aa..86f7689 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "bin": { "webpack": "lib/cli.js" }, - "main": "lib/index.js", + "main": "lib/cli.js", "engines": { "node": ">= 6.9.0 <7.0.0 || >= 8.9.0" },