From ef38ed3cc84fe23dfb9fc5b304501691e06650d3 Mon Sep 17 00:00:00 2001 From: "K. Adam White" Date: Thu, 23 Jan 2025 13:55:27 -0500 Subject: [PATCH] Remove debugging code from webpack, establish directory context in script --- .github/workflows/release.yml | 5 ++--- webpack.config.js | 2 -- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1b6f370..83f5960 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,8 +29,7 @@ jobs: release_branch: release built_asset_paths: build build_script: | - ls -lah + ls -lah .. + pwd npm ci - ls node_modules - tree src || true npm run build diff --git a/webpack.config.js b/webpack.config.js index a630b20..3aadd54 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -10,8 +10,6 @@ const { optimize } = require( 'webpack' ); module.exports = defaultConfig; -console.log( module.exports ); - if ( module.exports.mode === 'production' ) { // Disable all codesplitting in production builds. This makes Webpack render // smaller files (by removing Webpack's own boilerplate from the output), and