webpack-v5 #1

Merged
gapodo merged 13 commits from webpack-v5 into master 2023-11-15 23:01:27 +01:00
2 changed files with 2 additions and 0 deletions
Showing only changes of commit 51fe533c1d - Show all commits

View file

@ -4,6 +4,7 @@ import {CleanWebpackPlugin} from "clean-webpack-plugin";
import HtmlWebpackPlugin from "html-webpack-plugin";
import * as SpriteGenerator from "../plugin/";
console.log("Using config %s", process.env.NODE_ENV === "development" ? "development" : "production");
export = {
entry: path.join(__dirname, "app", "index.tsx"),
target: "web",

View file

@ -53,6 +53,7 @@ class SvgSpriteModule extends Module {
constructor(context: string, pluginConfig: Options, configName: string, config: SvgSpriteConfiguration) {
super("javascript/dynamic", null);
this.context = context;
this.pluginConfig = pluginConfig;
this.configName = configName;
this.config = config;