mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-26 04:11:02 +00:00
first commit
This commit is contained in:
22
webpack.main.config.ts
Normal file
22
webpack.main.config.ts
Normal file
@@ -0,0 +1,22 @@
|
||||
import type { Configuration } from "webpack";
|
||||
import TsconfigPathsPlugin from "tsconfig-paths-webpack-plugin";
|
||||
|
||||
import { rules } from "./webpack.rules";
|
||||
import { plugins } from "./webpack.plugins";
|
||||
|
||||
export const mainConfig: Configuration = {
|
||||
/**
|
||||
* This is the main entry point for your application, it's the first file
|
||||
* that runs in the main process.
|
||||
*/
|
||||
entry: "./src/index.ts",
|
||||
// Put your normal webpack config below here
|
||||
module: {
|
||||
rules,
|
||||
},
|
||||
plugins,
|
||||
resolve: {
|
||||
extensions: [".js", ".ts", ".jsx", ".tsx", ".css", ".json"],
|
||||
plugins: [new TsconfigPathsPlugin()],
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user