Tweak port and sourcemaps config

pull/4022/head
Christopher Henn 2018-07-25 11:08:09 -07:00 committed by Chris Henn
parent 76a6cd3bc2
commit 9f40961bd8
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
},
"scripts": {
"start": "node parcel.js",
"build": "parcel build -d build --public-url '' src/index.html",
"build": "parcel build -d build --no-source-maps --public-url '' src/index.html",
"clean": "rm -rf ./build && rm -rf ./.cache",
"test": "jest",
"test:watch": "jest --watch",

View File

@ -2,7 +2,7 @@ const proxy = require('http-proxy-middleware')
const Bundler = require('parcel')
const express = require('express')
const port = Number(process.env.PORT || 1234)
const port = Number(process.env.PORT || 8080)
console.log(`Serving on http://localhost:${port}`) // eslint-disable-line no-console