Skip to content

Commit

Permalink
A webpack config.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolfram Kriesing committed Nov 20, 2014
1 parent 0590810 commit 2995810
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions webpack.config.js
@@ -0,0 +1,13 @@
module.exports = {
entry: './src/main',
module: {
loaders: [
// Transpile any JavaScript file:
{ test: /\.js$/, loader: 'webpack-traceur?runtime&sourceMaps&experimental' }
]
},
resolve: {
// you can now require('file') instead of require('file.js')
extensions: ['', '.js', '.json']
}
};

0 comments on commit 2995810

Please sign in to comment.