https://github.com/commenthol/play-webpack
playground for webpack and public paths
https://github.com/commenthol/play-webpack
Last synced: 12 days ago
JSON representation
playground for webpack and public paths
- Host: GitHub
- URL: https://github.com/commenthol/play-webpack
- Owner: commenthol
- License: unlicense
- Created: 2019-03-29T19:22:18.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-29T19:24:41.000Z (about 7 years ago)
- Last Synced: 2025-02-26T18:53:39.329Z (over 1 year ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# play-webpack
> webpack playground for publicPaths
- separates css from js using mini-css-extract-plugin
- uses file-loader to extract images and fonts
- dynamic import of `js` files
- vendor bundling
- use of `__webpack_public_path__` to change public paths for js, css, img and fonts
## usage
```bash
npm i
npm run build
# start using `/` for public path
npm run hs:root
# start using `/static` for assets
npm run hs:static
```
## License
https://unlicense.org