Live video on the AT Protocol
at eli/sync-changes 20 lines 500 B view raw
1import type { Configuration } from "webpack"; 2 3import { plugins } from "./webpack.plugins"; 4import { rules } from "./webpack.rules"; 5 6export const mainConfig: Configuration = { 7 /** 8 * This is the main entry point for your application, it's the first file 9 * that runs in the main process. 10 */ 11 entry: "./src/index.ts", 12 // Put your normal webpack config below here 13 module: { 14 rules, 15 }, 16 plugins, 17 resolve: { 18 extensions: [".js", ".ts", ".jsx", ".tsx", ".css", ".json"], 19 }, 20};