Skip to content

Commit

Permalink
1.0.0-alpha.test4
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleAMathews committed Sep 29, 2016
1 parent ea91468 commit 864d1a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/utils/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ module.exports = (program, directory, suppliedStage, webpackPort = 1500, pages =
// Get array of page template component names.
let components = _.uniq(Array.from(pagesDB().values()).map(page => page.component))
components = components.map(component => layoutComponentChunkName(component))
console.log('components', components)
return [
// Moment.js includes 100s of KBs of extra localization data
// by default in Webpack that most sites don't want.
Expand All @@ -147,7 +148,6 @@ 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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "gatsby",
"description": "React.js Static Site Generator",
"version": "1.0.0-alpha.test3",
"version": "1.0.0-alpha.test4",
"author": "Kyle Mathews <mathews.kyle@gmail.com>",
"ava": {
"require": [
Expand Down

0 comments on commit 864d1a1

Please sign in to comment.