2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-12-23 10:38:55 +00:00

Add sourcemaps support for placeholder app

This commit is contained in:
Jia Hao 2016-01-24 21:20:29 +08:00
parent 00ddedf32d
commit b7e2fbf86e
3 changed files with 6 additions and 2 deletions

View File

@ -5,7 +5,8 @@
"main": "lib/main.js", "main": "lib/main.js",
"dependencies": { "dependencies": {
"electron-window-state": "^2.0.0", "electron-window-state": "^2.0.0",
"wurl": "^2.1.0" "wurl": "^2.1.0",
"source-map-support": "^0.4.0"
}, },
"devDependencies": {}, "devDependencies": {},
"scripts": { "scripts": {

View File

@ -2,6 +2,8 @@
* Created by JiaHao on 4/7/15. * Created by JiaHao on 4/7/15.
*/ */
import 'source-map-support/register';
var fs = require('fs'); var fs = require('fs');
var path = require('path'); var path = require('path');
var electron = require('electron'); var electron = require('electron');

View File

@ -28,5 +28,6 @@ module.exports = {
loaders: [ loaders: [
{test: /\.js$/, exclude: /node_modules/, loader: 'babel-loader'} {test: /\.js$/, exclude: /node_modules/, loader: 'babel-loader'}
] ]
} },
devtool: 'source-map'
}; };