mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 01:25:42 -05:00
Add sourcemaps
This commit is contained in:
parent
667ea35d0c
commit
1ae6513b2d
1 changed files with 1 additions and 1 deletions
|
@ -16,10 +16,10 @@ module.exports = {
|
|||
root: [path.resolve('./app'), path.resolve('./app/templates')],
|
||||
extensions: ['', '.web.coffee', '.web.js', '.coffee', '.js', '.jade']
|
||||
},
|
||||
devtool: 'inline-source-map',
|
||||
plugins: [
|
||||
new webpack.ContextReplacementPlugin(/./, function(context){
|
||||
if (context.resource === path.resolve('./app/views')) {
|
||||
console.log(context.regExp);
|
||||
context.regExp = /^.*Home.*$/i;
|
||||
}
|
||||
console.log(arguments);
|
||||
|
|
Loading…
Reference in a new issue