weboptimizer 2.0.1301 → 2.0.1303
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.
- package/package.json +5 -20
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "weboptimizer",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1303",
|
|
4
4
|
"description": "A generic web optimizer, (module) bundler and development environment.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webpack",
|
|
@@ -668,7 +668,7 @@
|
|
|
668
668
|
},
|
|
669
669
|
"template": {
|
|
670
670
|
"filePath": {
|
|
671
|
-
"__evaluate__": "`${Tools.isFileSync(path.resolve(self.path.source.base,
|
|
671
|
+
"__evaluate__": "`${Tools.isFileSync(path.resolve(self.path.source.base, `${self.files.defaultHTML.filename}.ejs`)) ? path.resolve(self.path.source.base, `${self.files.defaultHTML.filename}.ejs`) : path.resolve(webOptimizerPath, 'index.html.ejs')}`"
|
|
672
672
|
},
|
|
673
673
|
"postCompileOptions": {
|
|
674
674
|
"compileSteps": 0
|
|
@@ -1477,12 +1477,7 @@
|
|
|
1477
1477
|
"files": {
|
|
1478
1478
|
"defaultHTML": {
|
|
1479
1479
|
"filename": "test.html",
|
|
1480
|
-
"inject": "head"
|
|
1481
|
-
"template": {
|
|
1482
|
-
"filePath": {
|
|
1483
|
-
"__evaluate__": "`${Tools.isFileSync(path.resolve(self.path.source.base, 'test.html.ejs')) ? path.resolve(self.path.source.base, 'test.html.ejs') : path.resolve(webOptimizerPath, 'index.html.ejs')}`"
|
|
1484
|
-
}
|
|
1485
|
-
}
|
|
1480
|
+
"inject": "head"
|
|
1486
1481
|
},
|
|
1487
1482
|
"html": []
|
|
1488
1483
|
},
|
|
@@ -1512,12 +1507,7 @@
|
|
|
1512
1507
|
"files": {
|
|
1513
1508
|
"defaultHTML": {
|
|
1514
1509
|
"filename": "test.html",
|
|
1515
|
-
"inject": "head"
|
|
1516
|
-
"template": {
|
|
1517
|
-
"filePath": {
|
|
1518
|
-
"__evaluate__": "`${Tools.isFileSync(path.resolve(self.path.source.base, 'test.html.ejs')) ? path.resolve(self.path.source.base, 'test.html.ejs') : path.resolve(webOptimizerPath, 'index.html.ejs')}`"
|
|
1519
|
-
}
|
|
1520
|
-
}
|
|
1510
|
+
"inject": "head"
|
|
1521
1511
|
}
|
|
1522
1512
|
},
|
|
1523
1513
|
"inPlace": {
|
|
@@ -1663,12 +1653,7 @@
|
|
|
1663
1653
|
},
|
|
1664
1654
|
"defaultHTML": {
|
|
1665
1655
|
"filename": "playground.html",
|
|
1666
|
-
"inject": "head"
|
|
1667
|
-
"template": {
|
|
1668
|
-
"filePath": {
|
|
1669
|
-
"__evaluate__": "`${Tools.isFileSync(path.resolve(self.path.source.base, `${self.files.defaultHTML.filename}.ejs`)) ? path.resolve(self.path.source.base, `${self.files.defaultHTML.filename}.ejs`) : path.resolve(webOptimizerPath, 'index.html.ejs')}`"
|
|
1670
|
-
}
|
|
1671
|
-
}
|
|
1656
|
+
"inject": "head"
|
|
1672
1657
|
},
|
|
1673
1658
|
"html": {
|
|
1674
1659
|
"__evaluate__": "2 < self.givenCommandLineArguments.length && ['test:browser', 'serve'].includes(self.givenCommandLineArguments[2]) ? [{}] : []"
|