Skip to content

Commit

Permalink
Merge pull request #1504 from didi/fix-web-env-attr
Browse files Browse the repository at this point in the history
fix: 修复输出H5 env attr 不生效问题
  • Loading branch information
hiyuki authored Jun 12, 2024
2 parents 14b5ff4 + 247971b commit cb07ba6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/webpack-plugin/lib/web/processTemplate.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ module.exports = function (template, {
const mpx = loaderContext.getMpx()
const {
mode,
env,
defs,
wxsContentMap,
decodeHTMLText,
Expand Down Expand Up @@ -77,6 +78,7 @@ module.exports = function (template, {
isComponent: ctorType === 'component',
isPage: ctorType === 'page',
mode,
env,
srcMode: templateSrcMode,
defs,
decodeHTMLText,
Expand Down

0 comments on commit cb07ba6

Please sign in to comment.