Answer the question
In order to leave comments, you need to log in
Why are the loader settings reset?
Hello, I have
chainWebpack: (config) => {
config.module
.rule("ejs")
.test(/\.ejs$/)
.use("ejs-loader")
.loader("ejs-loader")
.set("options", {
esModule: false,
variable: "data",
});
}
template: "./public/index.ejs",
template: "ejs-loader?{esModules:false}!./public/index.ejs",
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question