mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-12-23 02:28:55 +00:00
Add sourcemaps support for placeholder app
This commit is contained in:
parent
00ddedf32d
commit
b7e2fbf86e
@ -5,7 +5,8 @@
|
||||
"main": "lib/main.js",
|
||||
"dependencies": {
|
||||
"electron-window-state": "^2.0.0",
|
||||
"wurl": "^2.1.0"
|
||||
"wurl": "^2.1.0",
|
||||
"source-map-support": "^0.4.0"
|
||||
},
|
||||
"devDependencies": {},
|
||||
"scripts": {
|
||||
|
@ -2,6 +2,8 @@
|
||||
* Created by JiaHao on 4/7/15.
|
||||
*/
|
||||
|
||||
import 'source-map-support/register';
|
||||
|
||||
var fs = require('fs');
|
||||
var path = require('path');
|
||||
var electron = require('electron');
|
||||
|
@ -28,5 +28,6 @@ module.exports = {
|
||||
loaders: [
|
||||
{test: /\.js$/, exclude: /node_modules/, loader: 'babel-loader'}
|
||||
]
|
||||
}
|
||||
},
|
||||
devtool: 'source-map'
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user