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:
parent
00ddedf32d
commit
b7e2fbf86e
@ -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": {
|
||||||
|
@ -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');
|
||||||
|
@ -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'
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user