weboptimizer 4.0.99 → 4.0.100-1
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/dist/index.js +6 -1
- package/package.json +3 -3
- package/readme.md +1 -1
- package/tsconfig.application.json +9 -11
- package/tsconfig.json +0 -2
- package/tsconfig.library.json +0 -2
package/dist/index.js
CHANGED
|
@@ -167,7 +167,12 @@ environment = eval('process.env')) => {
|
|
|
167
167
|
for (const [chunkName, chunk] of Object.entries(configuration.injection.entry.normalized)) for (const moduleID of chunk) {
|
|
168
168
|
const filePath = determineModuleFilePath(moduleID, configuration.module.aliases, configuration.module.replacements.normal, {
|
|
169
169
|
file: configuration.extensions.file.internal
|
|
170
|
-
}, configuration.path.context,
|
|
170
|
+
}, configuration.path.context,
|
|
171
|
+
/*
|
|
172
|
+
NOTE: Module ids are already resolved
|
|
173
|
+
against the source asset base.
|
|
174
|
+
*/
|
|
175
|
+
'', configuration.path.ignore, configuration.module.directoryNames, configuration.package.main.fileNames, configuration.package.main.propertyNames, configuration.package.aliasPropertyNames, configuration.encoding);
|
|
171
176
|
let type = null;
|
|
172
177
|
if (filePath) type = determineAssetType(filePath, configuration.buildContext.types, configuration.path);
|
|
173
178
|
if (typeof type === 'string' && Object.prototype.hasOwnProperty.call(configuration.buildContext.types, type)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "weboptimizer",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.100-1",
|
|
4
4
|
"description": "A generic web optimizer, (module) bundler and development environment.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webpack",
|
|
@@ -1377,7 +1377,7 @@
|
|
|
1377
1377
|
"javaScript": "javaScript/",
|
|
1378
1378
|
"template": "template/"
|
|
1379
1379
|
},
|
|
1380
|
-
"base": "
|
|
1380
|
+
"base": "src/",
|
|
1381
1381
|
"test": "test/"
|
|
1382
1382
|
},
|
|
1383
1383
|
"target": {
|
|
@@ -1393,7 +1393,7 @@
|
|
|
1393
1393
|
"javaScript": "javaScript/",
|
|
1394
1394
|
"template": "template/"
|
|
1395
1395
|
},
|
|
1396
|
-
"base": "
|
|
1396
|
+
"base": "dist/",
|
|
1397
1397
|
"manifest": "manifest.appcache",
|
|
1398
1398
|
"public": "",
|
|
1399
1399
|
"test": "./"
|
package/readme.md
CHANGED
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
"compilerOptions": {
|
|
5
5
|
"declaration": false,
|
|
6
6
|
"paths": {
|
|
7
|
-
"@asset/*": ["../../
|
|
8
|
-
"@cascadingStyleSheet/*": ["../../
|
|
9
|
-
"@data/*": ["../../
|
|
10
|
-
"@font/*": ["../../
|
|
11
|
-
"@image/*": ["../../
|
|
12
|
-
"@javaScript/*": ["../../
|
|
13
|
-
"@root/*": ["../../
|
|
14
|
-
"@source/*": ["../../
|
|
15
|
-
"@template/*": ["../../
|
|
7
|
+
"@asset/*": ["../../src/*"],
|
|
8
|
+
"@cascadingStyleSheet/*": ["../../src/cascadingStyleSheet/*"],
|
|
9
|
+
"@data/*": ["../../src/data/*"],
|
|
10
|
+
"@font/*": ["../../src/font/*"],
|
|
11
|
+
"@image/*": ["../../src/image/*"],
|
|
12
|
+
"@javaScript/*": ["../../src/javaScript/*"],
|
|
13
|
+
"@root/*": ["../../src/*"],
|
|
14
|
+
"@source/*": ["../../src/*"],
|
|
15
|
+
"@template/*": ["../../src/template/*"]
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
|
|
@@ -20,10 +20,8 @@
|
|
|
20
20
|
"../../*.ts", "../../*.tsx",
|
|
21
21
|
"../../*/*.ts", "../../*/*.tsx",
|
|
22
22
|
|
|
23
|
-
"../../assets/source/**/*.ts", "../../assets/source/**/*.tsx",
|
|
24
23
|
"../../assets/src/**/*.ts", "../../assets/src/**/*.tsx",
|
|
25
24
|
|
|
26
|
-
"../../source/**/*.ts", "../../source/**/*.tsx",
|
|
27
25
|
"../../src/**/*.ts", "../../src/**/*.tsx",
|
|
28
26
|
|
|
29
27
|
"../../test/*.ts", "../../test/*.tsx",
|
package/tsconfig.json
CHANGED
package/tsconfig.library.json
CHANGED
|
@@ -20,10 +20,8 @@
|
|
|
20
20
|
"../../*.ts", "../../*.tsx",
|
|
21
21
|
"../../*/*.ts", "../../*/*.tsx",
|
|
22
22
|
|
|
23
|
-
"../../assets/source/**/*.ts", "../../assets/source/**/*.tsx",
|
|
24
23
|
"../../assets/src/**/*.ts", "../../assets/src/**/*.tsx",
|
|
25
24
|
|
|
26
|
-
"../../source/**/*.ts", "../../source/**/*.tsx",
|
|
27
25
|
"../../src/**/*.ts", "../../src/**/*.tsx",
|
|
28
26
|
|
|
29
27
|
"../../test/*.ts", "../../test/*.tsx",
|