mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
first commit
This commit is contained in:
commit
f1bdec484e
165 changed files with 20993 additions and 0 deletions
23
webpack.main.config.ts
Normal file
23
webpack.main.config.ts
Normal file
|
@ -0,0 +1,23 @@
|
|||
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",
|
||||
devtool: "source-map",
|
||||
// Put your normal webpack config below here
|
||||
module: {
|
||||
rules,
|
||||
},
|
||||
plugins,
|
||||
resolve: {
|
||||
extensions: [".js", ".ts", ".jsx", ".tsx", ".css", ".json"],
|
||||
plugins: [new TsconfigPathsPlugin()],
|
||||
},
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue