Skip to content

Commit

Permalink
Merge branch '2.1.0-work' into multiTs-as-prop
Browse files Browse the repository at this point in the history
  • Loading branch information
ikreymer authored Jun 21, 2024
2 parents 99adc2b + 105562a commit c0d7e52
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,6 @@ const browserConfig = (/*env, argv*/) => {
};

const miscConfig = (/*env, argv*/) => {
const isDevServer = process.env.WEBPACK_SERVE;

/** @type {import('webpack').Configuration['entry']} */
const entry = {
misc: "./src/misc.ts",
Expand All @@ -201,7 +199,7 @@ const miscConfig = (/*env, argv*/) => {
target: "web",
mode: "production",
cache: {
type: isDevServer ? "memory" : "filesystem",
type: "filesystem"
},
resolve: {
fallback: { crypto: false },
Expand All @@ -217,14 +215,6 @@ const miscConfig = (/*env, argv*/) => {
publicPath: "/",
},

devServer: {
compress: true,
port: 9990,
open: false,
static: __dirname,
//publicPath: "/"
},

plugins: [
new webpack.NormalModuleReplacementPlugin(/^node:*/, (resource) => {
switch (resource.request) {
Expand Down

0 comments on commit c0d7e52

Please sign in to comment.