npm i -D sweet-configs
{
"include": ["./src/**/*"],
"exclude": ["node_modules"],
"compilerOptions": {
"baseUrl": "./",
"outDir": "./dist/"
},
"extends": "./node_modules/sweet-configs/typescript/tsconfig.json",
}
const typescriptWebpack = require("./node_modules/sweet-default-configs/webpack/typescript.js");
const merge = require("webpack-merge");
module.exports = merge(typescriptWebpack, {
entry: "./src/index.ts", // Pass in your own entry point, can be .jsx
output: {
filename: "bundle.js",
path: __dirname + "/dist"
},
});