init with dark mode
This commit is contained in:
@@ -33,6 +33,25 @@ module.exports = [
|
||||
path: path.resolve(__dirname, "dist"),
|
||||
},
|
||||
},
|
||||
{
|
||||
mode: "production",
|
||||
target: "web",
|
||||
devtool: "source-map",
|
||||
entry: "./mailgo.dist.dark.ts",
|
||||
context: path.join(__dirname, "webpack"),
|
||||
module: {
|
||||
rules: mailgoRules,
|
||||
},
|
||||
resolve: {
|
||||
extensions: [".ts", ".js"],
|
||||
},
|
||||
output: {
|
||||
filename: "mailgo.dark.min.js",
|
||||
library: "mailgo",
|
||||
libraryTarget: "window",
|
||||
path: path.resolve(__dirname, "dist"),
|
||||
},
|
||||
},
|
||||
{
|
||||
mode: "production",
|
||||
target: "node",
|
||||
|
||||
Reference in New Issue
Block a user