Created
March 23, 2015 13:29
-
-
Save apipkin/1aac8154e64b4565c1f5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.info('Webpak Config'); | |
module.exports = { | |
entry: './src/js/app.jsx', | |
output: { | |
filename: 'app.js', | |
path: __dirname + '/public/js/' | |
}, | |
module: { | |
loader: [ | |
{ | |
test: /\.jsx$/, | |
loader: 'jsx?insertPragma=React.DOM&harmony' | |
} | |
] | |
}, | |
externals: { | |
'react': 'React' | |
}, | |
resolve: { | |
extensions: ['', '.js', '.jsx'] | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment