This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const path = require("path"); | |
const merge = require("webpack-merge"); | |
const VueLoaderPlugin = require("vue-loader/lib/plugin"); | |
const MiniCssExtractPlugin = require("mini-css-extract-plugin"); | |
const UglifyJsPlugin = require("uglifyjs-webpack-plugin"); | |
const OptimizeCSSAssetsPlugin = require("optimize-css-assets-webpack-plugin"); | |
const WebpackBarPlugin = require("webpackbar"); | |
const outputFolder = path.resolve(__dirname, "../public_html/assets"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Copy and paste the code below into your routes/console.php file. | |
* You can add more command such as 'remove:model', 'remove:middleware', etc if you want, | |
* just modify the $file_location variable. | |
*/ | |
Artisan::command('remove:controller {name : Name of the controller}', function ($name) { |