Tweak port and sourcemaps config
parent
76a6cd3bc2
commit
9f40961bd8
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue