From f1ed06b2fbce546dfe5bfc81093c7961a55cc97e Mon Sep 17 00:00:00 2001 From: cha0s Date: Fri, 18 Mar 2022 12:45:46 -0500 Subject: [PATCH] refactor: assume dev --- packages/http/src/server/build/http-vendor.neutrinorc.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/http/src/server/build/http-vendor.neutrinorc.js b/packages/http/src/server/build/http-vendor.neutrinorc.js index c4da8f2..bdd10e6 100644 --- a/packages/http/src/server/build/http-vendor.neutrinorc.js +++ b/packages/http/src/server/build/http-vendor.neutrinorc.js @@ -21,7 +21,6 @@ module.exports = async (flecks) => { ({config, options}) => { const dll = flecks.get('@flecks/http/server.dll'); if (dll.length > 0) { - const isProduction = 'production' === config.get('mode'); // Build the library and manifest. config.context(options.root); const entries = config.entry('index').clear(); @@ -42,14 +41,13 @@ module.exports = async (flecks) => { ); // Output. config - .devtool(isProduction ? 'source-map' : 'cheap-module-source-map'); + .devtool('cheap-module-source-map'); config.output .path(options.output) .library('flecks_http_vendor') .filename('http-vendor.js'); config.node .set('fs', 'empty'); - // Resolution. config.resolve.extensions .merge([