mailymaily/webpack.config.js
Matteo Manzinello 9260b7073a removed replace
2020-06-16 17:29:04 +02:00

23 lines
418 B
JavaScript

const path = require("path");
module.exports = [
{
mode: "production",
entry: "./src/mailgo.script.js",
module: {
rules: [
{
test: /\.css$/i,
use: ["to-string-loader", "css-loader"],
},
],
},
output: {
filename: "./dist/mailgo.min.js",
path: path.resolve(__dirname),
library: "mailgo",
libraryTarget: "umd",
},
},
];