mirror of https://github.com/webpack/webpack.git
Examples write to dist
This commit is contained in:
parent
fe43dd1287
commit
e1a9a396af
|
@ -5,7 +5,6 @@
|
||||||
/benchmark/js
|
/benchmark/js
|
||||||
/benchmark/fixtures
|
/benchmark/fixtures
|
||||||
/examples/**/dist
|
/examples/**/dist
|
||||||
/examples/**/js
|
|
||||||
/coverage
|
/coverage
|
||||||
.DS_Store
|
.DS_Store
|
||||||
*.log
|
*.log
|
||||||
|
|
|
@ -32,8 +32,8 @@ describe("Examples", () => {
|
||||||
options.context = examplePath;
|
options.context = examplePath;
|
||||||
options.output = options.output || {};
|
options.output = options.output || {};
|
||||||
options.output.pathinfo = true;
|
options.output.pathinfo = true;
|
||||||
options.output.path = path.join(examplePath, "js");
|
options.output.path = path.join(examplePath, "dist");
|
||||||
options.output.publicPath = "js/";
|
options.output.publicPath = "dist/";
|
||||||
if(!options.output.filename)
|
if(!options.output.filename)
|
||||||
options.output.filename = "output.js";
|
options.output.filename = "output.js";
|
||||||
if(!options.entry)
|
if(!options.entry)
|
||||||
|
|
Loading…
Reference in New Issue