Skip to content
This repository was archived by the owner on Apr 23, 2021. It is now read-only.

Upgrade laravel-mix to v5.0.0 #6

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ You are now ready to go!

## Bundle the assets

On installation `adonis-mix` copies `webpack.mix.js` configuration file to the project's root folder. See See [Laravel Mix Documentation](https://laravel-mix.com/docs/4.0/installation) to how to setup your assets.
On installation `adonis-mix` copies `webpack.mix.js` configuration file to the project's root folder. See [Laravel Mix Documentation](https://laravel-mix.com/docs/5.0/installation) on how to setup your assets.

After creating your assets in the way you want (Less, SCSS, Stylus, ES2015, ...) you simply need to run the command below and the magic will happen.

Expand All @@ -37,11 +37,11 @@ $ adonis assets
# adonis assets --production -> Minify for production
```

Laravel Mix will automaticaly download packages you need to compiles your assets and will then run them.
Laravel Mix will automatically download packages you need to compiles your assets and will then run them.

## Config

The config file is [Laravel Mix](https://laravel-mix.com/docs/4.0/installation) `webpack.mix.js` file.
The config file is [Laravel Mix](https://laravel-mix.com/docs/5.0/installation) `webpack.mix.js` file.

### Example configuration

Expand All @@ -61,7 +61,7 @@ Add these to `webpack.mix.js` file in project's root.

## Hot Module Replacement

Read [Laravel Mix instructions](https://laravel-mix.com/docs/4.0/hot-module-replacement) about HMR.
Read [Laravel Mix instructions](https://laravel-mix.com/docs/5.0/hot-module-replacement) about HMR.

You can add script to your `package.json`

Expand Down
Loading