Skip to content

Commit 73c78bc

Browse files
committed
include origins in examples
1 parent 89fb178 commit 73c78bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/build-common.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ var path = require("path");
1212
var extraArgs = "";
1313

1414
var targetArgs = global.NO_TARGET_ARGS?"":" ./example.js js/output.js"
15-
cp.exec("node ../../bin/webpack.js --display-reasons --display-chunks --output-public-path \"js/\" -p "+extraArgs+targetArgs, function (error, stdout, stderr) {
15+
cp.exec("node ../../bin/webpack.js --display-reasons --display-chunks --display-origins --output-public-path \"js/\" -p "+extraArgs+targetArgs, function (error, stdout, stderr) {
1616
if(stderr)
1717
console.log(stderr);
1818
if (error !== null)
1919
console.log(error);
2020
var readme = tc(fs.readFileSync(require("path").join(process.cwd(), "template.md"), "utf-8"), process.cwd(), stdout.replace(/[\r\n]*$/, ""), "min");
21-
cp.exec("node ../../bin/webpack.js --display-reasons --display-chunks --output-public-path \"js/\" --optimize-occurence-order --output-pathinfo "+extraArgs+targetArgs, function (error, stdout, stderr) {
21+
cp.exec("node ../../bin/webpack.js --display-reasons --display-chunks --display-origins --output-public-path \"js/\" --optimize-occurence-order --output-pathinfo "+extraArgs+targetArgs, function (error, stdout, stderr) {
2222
console.log(stdout);
2323
if(stderr)
2424
console.log(stderr);

0 commit comments

Comments
 (0)