Skip to content

Commit d542676

Browse files
Laravel mix removed
1 parent f1861c8 commit d542676

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

README.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -85,24 +85,6 @@ return [
8585
];
8686
```
8787

88-
### Using [Laravel's Mix](https://laravel.com/docs/5.4/mix) with Laravel 5.4+ (optional)
89-
90-
Add "[webpack-shell-plugin-next](https://www.npmjs.com/package/webpack-shell-plugin-next)" to package.json's "devDependencies" section.
91-
92-
Add the following to webpack.mix.js:
93-
94-
```js
95-
const WebpackShellPluginNext = require('webpack-shell-plugin-next');
96-
97-
// Add shell command plugin configured to create JavaScript language file
98-
mix.webpackConfig({
99-
plugins:
100-
[
101-
new WebpackShellPluginNext({onBuildStart:['php artisan lang:js --quiet'], onBuildEnd:[]})
102-
]
103-
});
104-
```
105-
10688
## Documentation
10789

10890
This is a quick documentation regarding [Lang.js](https://github.com/rmariuzzo/lang.js) (the thin JavaScript library included by `Laravel-JS-Localization`). The [Lang.js](https://github.com/rmariuzzo/lang.js) (a thin library highly inspired on Laravel's [`Translator`](https://api.laravel.com/docs/master/Illuminate/Translation/Translator.html) class).

0 commit comments

Comments
 (0)