https://github.com/morlay/webpack-browser-sync
https://github.com/morlay/webpack-browser-sync
browsersync webpack
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/morlay/webpack-browser-sync
- Owner: morlay
- License: mit
- Created: 2016-04-26T04:55:36.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2022-12-01T23:22:17.000Z (over 3 years ago)
- Last Synced: 2025-04-13T15:54:40.722Z (about 1 year ago)
- Topics: browsersync, webpack
- Language: TypeScript
- Size: 1.12 MB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Webpack Browser-sync
A webpack@1&2 dev server with browser-sync
[](https://npmjs.org/package/webpack-browser-sync)
[](https://npmjs.org/package/webpack-browser-sync)
[](https://travis-ci.org/morlay/webpack-browser-sync)
```
Usage: webpack-browser-sync [options]
Options:
--config, -c path to webpack.config
[required] [default: "./webpack.config.js"]
--webpack enable webpack
[boolean] [default: true]
--index index.html relative path from webpackConfig.output.path
[string] [default: index.html]
--hot enable hot module replacement [need webpack enabled]
[boolean]
--proxy use proxy for remote debug [string]
--compress enable gzip [boolean]
--historyApiFallback enable history api fallback [boolean]
```
Notice
- only support node >= 12
- `output.publicPath` should not use remote url for development