Skip to content

Instantly share code, notes, and snippets.

View AnishDe12020's full-sized avatar
πŸš€
Buidling

Anish De AnishDe12020

πŸš€
Buidling
View GitHub Profile
name: πŸ›Bug Report
@AnishDe12020
AnishDe12020 / cli.js
Created September 23, 2021 15:46
Medium - Getting Started with React Ink
#!/usr/bin/env node
'use strict';
const React = require('react');
const importJsx = require('import-jsx');
const {render} = require('ink');
const meow = require('meow');
const ui = importJsx('./ui');
const cli = meow(`
Usage
$ sandbox
@AnishDe12020
AnishDe12020 / webpack.config.js
Last active May 9, 2021 12:37
Webpack Config, getting error with webpack
function getStyleUse(bundleFilename) {
return [
{
loader: 'file-loader',
options: {
name: bundleFilename,
},
},
{ loader: 'extract-loader' },
{ loader: 'css-loader' },