Updating AdminLTE theme dependencies

parent ba7b53ff
......@@ -22,7 +22,8 @@
"fetchSpec": "4.7.0"
},
"_requiredBy": [
"/"
"/",
"/admin-lte"
],
"_resolved": "https://registry.npmjs.org/font-awesome/-/font-awesome-4.7.0.tgz",
"_spec": "4.7.0",
......
let mix = require('laravel-mix');
const mix = require('laravel-mix');
const WebpackShellPlugin = require('webpack-shell-plugin');
const themeInfo = require('./theme.json');
......@@ -41,7 +41,7 @@ mix.copyDirectory('node_modules/admin-lte', 'assets/vendor/admin-lte');
* Publishing the assets
*/
mix.webpackConfig({
plugins: [
new WebpackShellPlugin({onBuildEnd:['php ../../artisan stylist:publish ' + themeInfo.name]})
]
plugins: [
new WebpackShellPlugin({ onBuildEnd: [`php ../../artisan stylist:publish ${themeInfo.name}`] }),
],
});
......@@ -22,7 +22,8 @@
"fetchSpec": "4.7.0"
},
"_requiredBy": [
"/"
"/",
"/admin-lte"
],
"_resolved": "https://registry.npmjs.org/font-awesome/-/font-awesome-4.7.0.tgz",
"_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