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');
...@@ -42,6 +42,6 @@ mix.copyDirectory('node_modules/admin-lte', 'assets/vendor/admin-lte'); ...@@ -42,6 +42,6 @@ mix.copyDirectory('node_modules/admin-lte', 'assets/vendor/admin-lte');
*/ */
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