LearnNewsExamplesServices
Frontmatter
id1801
titlepackage.json: server-start needs adjustments for v4
stateClosed
labels
enhancement
assigneestobiu
createdAtApr 16, 2021, 2:23 PM
updatedAtApr 16, 2021, 3:59 PM
githubUrlhttps://github.com/neomjs/neo/issues/1801
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtApr 16, 2021, 3:59 PM

package.json: server-start needs adjustments for v4

Closed v8.1.0 enhancement
tobiu
tobiu commented on Apr 16, 2021, 2:23 PM

[webpack-dev-server] Project is running at: [webpack-dev-server] Loopback: http://localhost:8080/ [webpack-dev-server] On Your Network (IPv4): http://192.168.178.80:8080/ [webpack-dev-server] On Your Network (IPv6): http://[fe80::1]:8080/ [webpack-dev-server] Content not from webpack is served from '/Users/Shared/github/neomjs/neo/public' directory

https://github.com/webpack/webpack-cli/blob/master/SERVE-OPTIONS.md --content-base <value> A directory or URL to serve HTML content from.

this option seems to be gone inside the new version: https://github.com/webpack/webpack-dev-server

unless i am missing something here, we need a config file just to change (remove) the not existing public directory from the path.

tobiu added the enhancement label on Apr 16, 2021, 2:23 PM
tobiu assigned to @tobiu on Apr 16, 2021, 2:23 PM
tobiu
tobiu Apr 16, 2021, 2:29 PM

https://github.com/webpack/webpack-dev-server/releases

breaking changes: "the contentBase, contentBasePublicPath, serveIndex, staticOptions, watchContentBase, watchOptions were removed in favor of the static option"

will try this one

tobiu referenced in commit 99c8871 - "package.json: server-start needs adjustments for v4 #1801" on Apr 16, 2021, 2:38 PM
tobiu closed this issue on Apr 16, 2021, 3:59 PM