Skip to content

Commit e3c2f73

Browse files
authored
Merge pull request webpack#6277 from webpack/examples/write-to-dist
Examples write to dist
2 parents efecf81 + e1a9a39 commit e3c2f73

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
/benchmark/js
66
/benchmark/fixtures
77
/examples/**/dist
8-
/examples/**/js
98
/coverage
109
.DS_Store
1110
*.log

test/Examples.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ describe("Examples", () => {
3232
options.context = examplePath;
3333
options.output = options.output || {};
3434
options.output.pathinfo = true;
35-
options.output.path = path.join(examplePath, "js");
36-
options.output.publicPath = "js/";
35+
options.output.path = path.join(examplePath, "dist");
36+
options.output.publicPath = "dist/";
3737
if(!options.output.filename)
3838
options.output.filename = "output.js";
3939
if(!options.entry)

0 commit comments

Comments
 (0)