Skip to content

Commit

Permalink
More debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleAMathews committed Sep 29, 2016
1 parent 687bc8b commit ea91468
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils/build-javascript.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = (program, callback) => {
const { directory } = program

const compilerConfig = webpackConfig(program, directory, `build-javascript`)
console.log('webpack config for JS', compilerConfig.resolve())
console.log('webpack config for JS', JSON.stringify(compilerConfig.resolve(), null, 4))

webpack(compilerConfig.resolve()).run(callback)
}
1 change: 1 addition & 0 deletions lib/utils/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ module.exports = (program, directory, suppliedStage, webpackPort = 1500, pages =
new webpack.optimize.DedupePlugin(),
// Extract "commons" chunk from the app entry and all
// page components.
console.log('components', components)
new webpack.optimize.CommonsChunkPlugin({
name: `commons`,
chunks: [
Expand Down

0 comments on commit ea91468

Please sign in to comment.