Skip to content

Commit

Permalink
fix minify default (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford authored and rauchg committed Dec 17, 2018
1 parent b83e921 commit c289b28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ module.exports = async (
entry,
{
externals = [],
minify = false,
minify = true,
sourceMap = false,
filename = "index.js"
} = {}
Expand Down
3 changes: 1 addition & 2 deletions test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ for (const integrationTest of fs.readdirSync(__dirname + "/integration")) {

it(`should evaluate ${integrationTest} without errors`, async () => {
const { code, map, assets } = await ncc(
__dirname + "/integration/" + integrationTest,
{ minify: true, sourceMap: true }
__dirname + "/integration/" + integrationTest
);
const tmpDir = `${__dirname}/tmp/${integrationTest}/`;
clearDir(tmpDir);
Expand Down

0 comments on commit c289b28

Please # to comment.