Skip to content

Commit

Permalink
Stop creating sourceMaps
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoRiether committed Sep 3, 2019
1 parent 7938908 commit 5a14581
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bundler.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const { promisify } = require('util');
let fs = require('fs');
const package = require('./package.json');

let DEV = false; // TODO: change to process.environment
let DEV = true; // TODO: change to process.environment

fs.readFileAsync = promisify(fs.readFile);
fs.writeFileAsync = promisify(fs.writeFile);
Expand All @@ -29,6 +29,7 @@ let bundler = new Bundler(Path.join(__dirname, "./src/index.js"), {
global: 'cfpp',
contentHash: false,
watch: DEV ? true : false,
sourceMaps: false,
});

// TODO: Maybe there's a way to pipe Parcel's output to a JS function, then to the output?
Expand Down

0 comments on commit 5a14581

Please sign in to comment.