Initial commit

This commit is contained in:
2024-10-01 22:56:10 +03:00
commit 18d1a02e98
9 changed files with 2978 additions and 0 deletions

25
webpack.config.js Normal file
View File

@@ -0,0 +1,25 @@
const path = require("path");
const webpack = require("webpack");
const TerserPlugin = require("terser-webpack-plugin");
module.exports = {
entry: "./index.js",
output: {
filename: "bundle.js",
path: path.resolve(__dirname, "dist")
},
plugins: [
new TerserPlugin({
terserOptions: {
keep_fnames: ['signIn', 'fetchProtected'],
mangle: {
reserved: [
"signIn",
"fetchProtected"
]
}
}
})
],
mode: "development"
};