@bleedingdev/modern-js-builder 3.9.3-ultramodern.1 → 3.9.3-ultramodern.11
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.
|
@@ -84,6 +84,7 @@ const pluginEnvironmentDefaults = (distPath = {})=>({
|
|
|
84
84
|
order: 'post'
|
|
85
85
|
});
|
|
86
86
|
api.modifyEnvironmentConfig(async (config, { name })=>{
|
|
87
|
+
if ('web-worker' === config.output.target) config.output.externals = void 0;
|
|
87
88
|
config.output.overrideBrowserslist ??= await (0, utils_js_namespaceObject.getBrowserslistWithDefault)(api.context.rootPath, config, name === utils_js_namespaceObject.SERVICE_WORKER_ENVIRONMENT_NAME ? 'node' : config.output.target);
|
|
88
89
|
});
|
|
89
90
|
api.modifyBundlerChain(async (chain, { environment })=>{
|
|
@@ -52,6 +52,7 @@ const pluginEnvironmentDefaults = (distPath = {})=>({
|
|
|
52
52
|
order: 'post'
|
|
53
53
|
});
|
|
54
54
|
api.modifyEnvironmentConfig(async (config, { name })=>{
|
|
55
|
+
if ('web-worker' === config.output.target) config.output.externals = void 0;
|
|
55
56
|
config.output.overrideBrowserslist ??= await getBrowserslistWithDefault(api.context.rootPath, config, name === SERVICE_WORKER_ENVIRONMENT_NAME ? 'node' : config.output.target);
|
|
56
57
|
});
|
|
57
58
|
api.modifyBundlerChain(async (chain, { environment })=>{
|
|
@@ -53,6 +53,7 @@ const pluginEnvironmentDefaults = (distPath = {})=>({
|
|
|
53
53
|
order: 'post'
|
|
54
54
|
});
|
|
55
55
|
api.modifyEnvironmentConfig(async (config, { name })=>{
|
|
56
|
+
if ('web-worker' === config.output.target) config.output.externals = void 0;
|
|
56
57
|
config.output.overrideBrowserslist ??= await getBrowserslistWithDefault(api.context.rootPath, config, name === SERVICE_WORKER_ENVIRONMENT_NAME ? 'node' : config.output.target);
|
|
57
58
|
});
|
|
58
59
|
api.modifyBundlerChain(async (chain, { environment })=>{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bleedingdev/modern-js-builder",
|
|
3
|
-
"version": "3.9.3-ultramodern.
|
|
3
|
+
"version": "3.9.3-ultramodern.11",
|
|
4
4
|
"description": "A builder for Modern.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@jridgewell/trace-mapping": "^0.3.31",
|
|
33
|
-
"@modern-js/utils": "npm:@bleedingdev/modern-js-utils@3.9.3-ultramodern.
|
|
34
|
-
"@rsbuild/core": "2.2.
|
|
33
|
+
"@modern-js/utils": "npm:@bleedingdev/modern-js-utils@3.9.3-ultramodern.11",
|
|
34
|
+
"@rsbuild/core": "2.2.13",
|
|
35
35
|
"@rsbuild/plugin-assets-retry": "2.0.2",
|
|
36
36
|
"@rsbuild/plugin-check-syntax": "2.0.1",
|
|
37
37
|
"@rsbuild/plugin-css-minimizer": "2.0.1",
|
|
@@ -39,40 +39,40 @@
|
|
|
39
39
|
"@rsbuild/plugin-rem": "1.0.6",
|
|
40
40
|
"@rsbuild/plugin-sass": "2.0.1",
|
|
41
41
|
"@rsbuild/plugin-source-build": "1.0.7",
|
|
42
|
-
"@rsbuild/plugin-type-check": "1.6.
|
|
42
|
+
"@rsbuild/plugin-type-check": "1.6.1",
|
|
43
43
|
"@rsbuild/plugin-typed-css-modules": "1.2.4",
|
|
44
|
-
"@swc/core": "1.16.
|
|
44
|
+
"@swc/core": "1.16.18",
|
|
45
45
|
"@swc/helpers": "^0.5.23",
|
|
46
46
|
"autoprefixer": "10.6.1",
|
|
47
47
|
"browserslist": "4.29.3",
|
|
48
48
|
"core-js": "^3.50.0",
|
|
49
|
-
"cssnano": "9.
|
|
49
|
+
"cssnano": "9.8.0",
|
|
50
50
|
"html-minifier-terser": "^7.2.0",
|
|
51
51
|
"lodash": "^4.18.1",
|
|
52
|
-
"postcss": "^8.5.
|
|
53
|
-
"postcss-custom-properties": "15.0.
|
|
52
|
+
"postcss": "^8.5.30",
|
|
53
|
+
"postcss-custom-properties": "15.0.4",
|
|
54
54
|
"postcss-flexbugs-fixes": "5.0.2",
|
|
55
55
|
"postcss-font-variant": "5.0.0",
|
|
56
56
|
"postcss-initial": "4.0.1",
|
|
57
57
|
"postcss-media-minmax": "5.0.0",
|
|
58
|
-
"postcss-nesting": "14.0.
|
|
58
|
+
"postcss-nesting": "14.0.3",
|
|
59
59
|
"postcss-page-break": "3.0.4",
|
|
60
60
|
"rspack-manifest-plugin": "5.2.2",
|
|
61
61
|
"sass-embedded": "1.105.1",
|
|
62
62
|
"ts-deepmerge": "8.0.0",
|
|
63
63
|
"typescript": "7.0.2",
|
|
64
|
-
"webpack": "5.
|
|
64
|
+
"webpack": "5.112.0"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@modern-js/types": "npm:@bleedingdev/modern-js-types@3.9.3-ultramodern.
|
|
67
|
+
"@modern-js/types": "npm:@bleedingdev/modern-js-types@3.9.3-ultramodern.11",
|
|
68
68
|
"@rsbuild/plugin-react": "2.1.1",
|
|
69
69
|
"@rsbuild/plugin-svgr": "2.0.5",
|
|
70
|
-
"@rsdoctor/rspack-plugin": "^1.6.
|
|
70
|
+
"@rsdoctor/rspack-plugin": "^1.6.5",
|
|
71
71
|
"@rslib/core": "1.0.3",
|
|
72
72
|
"@scripts/rstest-config": "2.66.0",
|
|
73
73
|
"@types/html-minifier-terser": "^7.0.2",
|
|
74
|
-
"@types/lodash": "^4.17.
|
|
75
|
-
"react": "^19.3.
|
|
74
|
+
"@types/lodash": "^4.17.26",
|
|
75
|
+
"react": "^19.3.1",
|
|
76
76
|
"react-server-dom-rspack": "0.1.0",
|
|
77
77
|
"rsbuild-plugin-rsc": "0.1.1",
|
|
78
78
|
"terser": "^5.51.2"
|