Skip to content

Commit

Permalink
Remove more webpack packages
Browse files Browse the repository at this point in the history
  • Loading branch information
HarelM committed Dec 17, 2023
1 parent c2df640 commit 8df7e7c
Show file tree
Hide file tree
Showing 3 changed files with 258 additions and 4,526 deletions.
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,14 @@ npm install
npm run start
```

If you want Maputnik to be accessible externally use the [`--host` option](https://webpack.js.org/configuration/dev-server/#devserverhost):
If you want Maputnik to be accessible externally use the [`--host` option](https://vitejs.dev/config/server-options.html#server-host):

```bash
# start externally accessible dev server
npm run start -- --host 0.0.0.0
```

The build process will watch for changes to the filesystem, rebuild and autoreload the editor. However note this from the [webpack-dev-server docs](https://webpack.js.org/configuration/dev-server/):

> webpack uses the file system to get notified of file changes. In some cases this does not work. For example, when using Network File System (NFS). Vagrant also has a lot of problems with this. ([snippet source](https://webpack.js.org/configuration/dev-server/#devserverwatchoptions-))
To enable polling add `export WEBPACK_DEV_SERVER_POLLING=1` to your environment.
The build process will watch for changes to the filesystem, rebuild and autoreload the editor.

```
npm run build
Expand Down
Loading

0 comments on commit 8df7e7c

Please sign in to comment.