Page MenuHomeSealhub

webpack.config.js
No OneTemporary

webpack.config.js

const path = require("path");
module.exports = [
{
name: "front-end-components",
entry: {
bundle: "./src/front/index.ts",
},
output: {
filename: "[name].js",
path: path.resolve(__dirname, "public/dist"),
},
mode: "production",
devtool: "source-map",
resolve: {
extensions: [".ts", ".js"],
},
module: {
rules: [
{
test: /\.js$/,
exclude: [/node_modules/],
use: [{ loader: "babel-loader" }],
},
{
test: /\.ts$/,
exclude: [/node_modules/],
use: [{ loader: "ts-loader" }],
},
],
},
},
];

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 22, 12:00 (11 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
547700
Default Alt Text
webpack.config.js (577 B)

Event Timeline