mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-18 18:44:16 +00:00
Expand config for localisation
This commit is contained in:
11
webpack.mix.js
vendored
11
webpack.mix.js
vendored
@@ -11,5 +11,16 @@ let mix = require('laravel-mix');
|
||||
|
|
||||
*/
|
||||
|
||||
const WebpackShellPlugin = require('webpack-shell-plugin');
|
||||
|
||||
// Add shell command plugin configured to create JavaScript language file
|
||||
mix.webpackConfig({
|
||||
plugins:
|
||||
[
|
||||
new WebpackShellPlugin({onBuildStart:['php artisan lang:js resources/assets/js/messages.js --no-lib --quiet'], onBuildEnd:[]})
|
||||
]
|
||||
});
|
||||
|
||||
|
||||
mix.js('resources/assets/js/app.js', 'public/js')
|
||||
.sass('resources/assets/sass/app.scss', 'public/css');
|
||||
|
Reference in New Issue
Block a user