diff --git a/packages/xod-js/webpack.config.js b/packages/xod-js/webpack.config.js
index <HASH>..<HASH> 100644
--- a/packages/xod-js/webpack.config.js
+++ b/packages/xod-js/webpack.config.js
@@ -6,13 +6,14 @@ const libraryName = 'xod-js';
 const pkgpath = subpath => path.join(__dirname, subpath);
 
 module.exports = {
+  devtool: 'source-map',
   entry: pkgpath('src/index.js'),
   output: {
     path: pkgpath('dist'),
     libraryTarget: 'umd',
     library: libraryName,
     filename: 'index.js',
-    umdNamedDefine: true
+    umdNamedDefine: true,
   },
   externals: [
     'fs',
infra(xod-js): emit sourcemaps on build