Skip to content

Commit

Permalink
fix(compartment-mapper): Thread dev option thru bundler
Browse files Browse the repository at this point in the history
  • Loading branch information
kriskowal committed Dec 8, 2022
1 parent 815e94e commit c71561e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/compartment-mapper/src/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,11 @@ const sortedModules = (
* @param {string} moduleLocation
* @param {Object} [options]
* @param {ModuleTransforms} [options.moduleTransforms]
* @param {boolean} [options.dev]
* @returns {Promise<string>}
*/
export const makeBundle = async (read, moduleLocation, options) => {
const { moduleTransforms } = options || {};
const { moduleTransforms, dev } = options || {};
const {
packageLocation,
packageDescriptorText,
Expand All @@ -163,6 +164,7 @@ export const makeBundle = async (read, moduleLocation, options) => {
tags,
packageDescriptor,
moduleSpecifier,
{ dev },
);

const {
Expand Down

0 comments on commit c71561e

Please sign in to comment.