1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2025-02-09 13:46:56 +02:00

disabling production mode webpack

This commit is contained in:
Braun Patrik 2016-03-14 13:27:27 +01:00
parent 27cf71851b
commit dc69e32d7e
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ module.exports = {
'app': __dirname+'/main.ts' 'app': __dirname+'/main.ts'
}, },
output: { output: {
filename: __dirname+'./dist/[name]-bundle.js', filename: __dirname+'/dist/[name]-bundle.js',
library: ['peer'] library: ['peer']
}, },
// Turn on sourcemaps // Turn on sourcemaps

View File

@ -8,7 +8,7 @@
"license": "MIT", "license": "MIT",
"main": "./backend/server.js", "main": "./backend/server.js",
"scripts": { "scripts": {
"install": "typings install && tsc -p backend && webpack --config ./frontend/webpack.config.js -p ", "install": "typings install && tsc -p backend && tsc - common && webpack --config ./frontend/webpack.config.js ",
"pretest": "typings install", "pretest": "typings install",
"test": "karma start ./karma.conf.js", "test": "karma start ./karma.conf.js",
"start": "node ./backend/server" "start": "node ./backend/server"