Skip to content

Instantly share code, notes, and snippets.

View samuelayo's full-sized avatar
💭
Coding

samuel ogundipe samuelayo

💭
Coding
View GitHub Profile
var path = require("path");
var config = {
entry: ["./app.tsx"],
output: {
path: path.resolve(__dirname, "build"),
filename: "bundle.js"
},
resolve: {
extensions: [".ts", ".tsx", ".js"]
{
"compilerOptions": {
"target": "es6",
"jsx": "react",
"module": "commonjs"
},
"exclude": [
"node_modules"
]
}