Skip to content

Commit

Permalink
Updating AdminLTE theme dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
nWidart committed Oct 12, 2017
1 parent ba7b53f commit 03b28ee
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
3 changes: 2 additions & 1 deletion Themes/Adminlte/assets/vendor/font-awesome/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
8 changes: 4 additions & 4 deletions Themes/Adminlte/webpack.mix.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
let mix = require('laravel-mix');
const mix = require('laravel-mix');
const WebpackShellPlugin = require('webpack-shell-plugin');
const themeInfo = require('./theme.json');

Expand Down Expand Up @@ -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}`] }),
],
});
3 changes: 2 additions & 1 deletion public/themes/adminlte/vendor/font-awesome/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 03b28ee

Please sign in to comment.