Skip to content

Instantly share code, notes, and snippets.

View asifulmamun's full-sized avatar
🏠
Working from home

Al Mamun asifulmamun

🏠
Working from home
View GitHub Profile
@CoolGoose
CoolGoose / webpack.config.js
Created September 23, 2018 15:35
mini css extract scss issue
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");
@miftahafina
miftahafina / console.php
Last active February 3, 2025 19:44
Remove laravel controller with artisan command
<?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) {