@mpxjs/webpack-plugin 2.8.28-beta.3 → 2.8.28-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -762,7 +762,7 @@ function parse (template, options) {
|
|
|
762
762
|
},
|
|
763
763
|
comment: function comment (text) {
|
|
764
764
|
if (!currentParent) genTempRoot()
|
|
765
|
-
if (options.hasComment) {
|
|
765
|
+
if (options.hasComment || /mpx_config_/.test(text)) {
|
|
766
766
|
currentParent.children.push({
|
|
767
767
|
type: 3,
|
|
768
768
|
text: text,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mpxjs/webpack-plugin",
|
|
3
|
-
"version": "2.8.28-beta.
|
|
3
|
+
"version": "2.8.28-beta.4",
|
|
4
4
|
"description": "mpx compile core",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mpx"
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"engines": {
|
|
83
83
|
"node": ">=14.14.0"
|
|
84
84
|
},
|
|
85
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "935028d9a4cd51eb1ad25cdb2f1809bf41479050"
|
|
86
86
|
}
|