Skip to content

Instantly share code, notes, and snippets.

💭
I may be slow to respond.

Provash Shoumma proshoumma

💭
I may be slow to respond.
Block or report user

Report or block proshoumma

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@proshoumma
proshoumma / flattenArray.js
Last active Jun 22, 2017
Flatten out an array
View flattenArray.js
/**
* flatten out an array
* @param {Array} input
* @param {Array} [output=[]]
* @return {Array}
*/
const flatten = (input, output = []) => {
// current index
let index = output.length;
@proshoumma
proshoumma / webpack.config.js
Created Jun 21, 2016 — forked from learncodeacademy/webpack.config.js
Sample Basic Webpack Config
View webpack.config.js
var debug = process.env.NODE_ENV !== "production";
var webpack = require('webpack');
module.exports = {
context: __dirname,
devtool: debug ? "inline-sourcemap" : null,
entry: "./js/scripts.js",
output: {
path: __dirname + "/js",
filename: "scripts.min.js"
You can’t perform that action at this time.