File tree Expand file tree Collapse file tree
packages/webpack-plugin/lib Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ module.exports = function getSpec ({ warn, error }) {
120120 }
121121 if ( el ) {
122122 const injectWxsInfo = {
123- injectWxsPath : '~' + normalize . lib ( 'runtime/swanHelper.wxs' ) ,
123+ injectWxsRequest : '~' + normalize . lib ( 'runtime/swanHelper.wxs' ) ,
124124 injectWxsModuleName : 'mpxSwanHelper'
125125 }
126126 if ( el . injectWxsInfos && Array . isArray ( el . injectWxsInfos ) ) {
Original file line number Diff line number Diff line change @@ -2903,8 +2903,8 @@ function processDuplicateAttrsList (el) {
29032903function processInjectWxsInfos ( el , meta ) {
29042904 if ( el . injectWxsInfos && el . injectWxsInfos . length ) {
29052905 el . injectWxsInfos . forEach ( ( injectWxsInfo ) => {
2906- const { injectWxsPath , injectWxsModuleName } = injectWxsInfo
2907- injectWxs ( meta , injectWxsModuleName , injectWxsPath )
2906+ const { injectWxsRequest , injectWxsModuleName } = injectWxsInfo
2907+ injectWxs ( meta , injectWxsModuleName , injectWxsRequest )
29082908 } )
29092909 }
29102910}
You can’t perform that action at this time.
0 commit comments