Skip to content

Instantly share code, notes, and snippets.

@sunify
Created February 9, 2015 09:12

Revisions

  1. sunify created this gist Feb 9, 2015.
    12 changes: 12 additions & 0 deletions gistfile1.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    entry: {
    main: './src/scripts/main.js',
    contact: './src/scripts/contact.js',
    },
    output: {
    path: __dirname + '/js',
    filename: '[name].js'
    },

    plugins: [
    new webpack.optimize.CommonsChunkPlugin('common.js'),
    ],