https://github.com/vctr-dev/mrm-task-webpack
mrm task to generate basic webpack config
https://github.com/vctr-dev/mrm-task-webpack
javascript mrm mrm-task webpack
Last synced: about 1 month ago
JSON representation
mrm task to generate basic webpack config
- Host: GitHub
- URL: https://github.com/vctr-dev/mrm-task-webpack
- Owner: vctr-dev
- License: mit
- Created: 2020-04-19T05:14:57.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-03-26T13:22:43.000Z (about 4 years ago)
- Last Synced: 2025-02-16T02:32:36.410Z (over 1 year ago)
- Topics: javascript, mrm, mrm-task, webpack
- Language: JavaScript
- Size: 219 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: Readme.md
- Changelog: Changelog.md
- Contributing: Contributing.md
- License: License.md
Awesome Lists containing this project
README
# mrm-task-webpack
[mrm](https://github.com/sapegin/mrm) task that adds basic [webpack](https://webpack.js.org/) configuration and yarn scripts.
This should allow you to do `yarn start:dev` immediately after running `mrm webpack`.
## What it does
- Installs dependencies
- Adds yarn scripts to run Webpack and DevServer
- Creates webpack.config.js, index.html, and src/index.js if they don't exist
## Usage
```bash
yarn global add mrm mrm-task-webpack
mrm webpack
```
### Scripts
```bash
yarn start:dev # starts webpack dev server
yarn build:dev # builds webpack in development mode
yarn build # builds webpack in production mode
```
## Changelog
The changelog can be found in [changelog](Changelog.md).
## Contributing
Everyone is welcome to contribute. Please take a moment to review the [contributing guidelines](Contributing.md).
## Authors and license
[Victor Chan](https://vctr.dev) and [contributors](https://github.com/victorzchan/mrm-task-webpack/graphs/contributors).
MIT License, see the included [License.md](License.md) file.