Skip to content

Commit

Permalink
adjust configs
Browse files Browse the repository at this point in the history
  • Loading branch information
jquense committed Nov 2, 2015
1 parent 604283a commit 9e8027b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/docs.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ module.exports = makeConfig({
plugins: [
new webpack.optimize.CommonsChunkPlugin('vendor', 'vendor.bundle.js')
],

loaders: [
{ test: /\.json$/, loader: 'json' },
{ test: /\.raw$/, loader: 'raw' },
Expand Down
4 changes: 3 additions & 1 deletion build/make-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,9 @@ module.exports = function makeConfig(options){
resolve: {
extensions: ['', '.js', '.jsx'],
alias: {
'react-widgets': path.join(__dirname, '..', 'src')
react: path.resolve('./node_modules/react'),
'react-widgets': path.join(__dirname, '..', 'src'),
'react-dom': path.resolve('./node_modules/react-dom')
}
},

Expand Down

0 comments on commit 9e8027b

Please sign in to comment.