Skip to content

Commit

Permalink
Remove debugging code from webpack, establish directory context in sc…
Browse files Browse the repository at this point in the history
…ript
  • Loading branch information
kadamwhite committed Jan 23, 2025
1 parent 6bda1f8 commit ef38ed3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ef38ed3

Please sign in to comment.