Frontmatter
| id | 1801 |
| title | package.json: server-start needs adjustments for v4 |
| state | Closed |
| labels | enhancement |
| assignees | tobiu |
| createdAt | Apr 16, 2021, 2:23 PM |
| updatedAt | Apr 16, 2021, 3:59 PM |
| githubUrl | https://github.com/neomjs/neo/issues/1801 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Apr 16, 2021, 3:59 PM |
package.json: server-start needs adjustments for v4
tobiu assigned to @tobiu on Apr 16, 2021, 2:23 PM

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 closed this issue on Apr 16, 2021, 3:59 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.