Updating AdminLTE theme dependencies

parent ba7b53ff
...@@ -22,7 +22,8 @@ ...@@ -22,7 +22,8 @@
"fetchSpec": "4.7.0" "fetchSpec": "4.7.0"
}, },
"_requiredBy": [ "_requiredBy": [
"/" "/",
"/admin-lte"
], ],
"_resolved": "https://registry.npmjs.org/font-awesome/-/font-awesome-4.7.0.tgz", "_resolved": "https://registry.npmjs.org/font-awesome/-/font-awesome-4.7.0.tgz",
"_spec": "4.7.0", "_spec": "4.7.0",
......
let mix = require('laravel-mix'); const mix = require('laravel-mix');
const WebpackShellPlugin = require('webpack-shell-plugin'); const WebpackShellPlugin = require('webpack-shell-plugin');
const themeInfo = require('./theme.json'); const themeInfo = require('./theme.json');
...@@ -41,7 +41,7 @@ mix.copyDirectory('node_modules/admin-lte', 'assets/vendor/admin-lte'); ...@@ -41,7 +41,7 @@ mix.copyDirectory('node_modules/admin-lte', 'assets/vendor/admin-lte');
* Publishing the assets * Publishing the assets
*/ */
mix.webpackConfig({ mix.webpackConfig({
plugins: [ plugins: [
new WebpackShellPlugin({onBuildEnd:['php ../../artisan stylist:publish ' + themeInfo.name]}) new WebpackShellPlugin({ onBuildEnd: [`php ../../artisan stylist:publish ${themeInfo.name}`] }),
] ],
}); });
...@@ -22,7 +22,8 @@ ...@@ -22,7 +22,8 @@
"fetchSpec": "4.7.0" "fetchSpec": "4.7.0"
}, },
"_requiredBy": [ "_requiredBy": [
"/" "/",
"/admin-lte"
], ],
"_resolved": "https://registry.npmjs.org/font-awesome/-/font-awesome-4.7.0.tgz", "_resolved": "https://registry.npmjs.org/font-awesome/-/font-awesome-4.7.0.tgz",
"_spec": "4.7.0", "_spec": "4.7.0",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment