```coffeescript
class WebpackConfig

  getDefaultConfiguration: ->
    module:
      loaders: [
        {test: /\.coffee$/i, loader: 'coffee-loader'}
      ]
    resolve:
      extensions: ['', '.js', '.coffee']


module.exports = new WebpackConfig```

Use current stable version of Sinon.JS, require browser packaged version when using webpack, fix usage of sinon-chai
user
```coffeescript
webpackStream = require 'webpack-stream'

NormalModuleReplacementPlugin = webpackStream.webpack.NormalModuleReplacementPlugin

class WebpackConfig

  getDefaultConfiguration: ->
    module:
      loaders: [
        {test: /\.coffee$/i, loader: 'coffee-loader'}
      ]
      noParse: [
        /node_modules\/sinon\/pkg\/.*/
      ]
    plugins: [
      new NormalModuleReplacementPlugin /^sinon$/, process.cwd() + '/node_modules/sinon/pkg/sinon.js'
    ]

    resolve:
      extensions: ['', '.js', '.coffee']


module.exports = new WebpackConfig
```
assistant