@modern-js/uni-builder 0.0.0-nightly-20240128170732 → 0.0.0-nightly-20240129170639

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.
@@ -31,9 +31,14 @@ __export(styledComponents_exports, {
31
31
  pluginStyledComponents: () => pluginStyledComponents
32
32
  });
33
33
  module.exports = __toCommonJS(styledComponents_exports);
34
+ var import_core = require("@rsbuild/core");
34
35
  var import_shared = require("@rsbuild/shared");
35
36
  const pluginStyledComponents = (userConfig = {}) => ({
36
37
  name: "uni-builder:styled-components",
38
+ pre: [
39
+ import_core.PLUGIN_SWC_NAME,
40
+ "uni-builder:babel"
41
+ ],
37
42
  setup(api) {
38
43
  api.modifyBundlerChain(async (chain, { CHAIN_ID, isProd }) => {
39
44
  const isSSR = (0, import_shared.isServerTarget)(api.context.targets);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modern-js/uni-builder",
3
- "version": "0.0.0-nightly-20240128170732",
3
+ "version": "0.0.0-nightly-20240129170639",
4
4
  "description": "Unified builder for Modern.js",
5
5
  "repository": {
6
6
  "type": "git",
@@ -64,9 +64,9 @@
64
64
  "webpack": "^5.89.0",
65
65
  "webpack-manifest-plugin": "5.0.0",
66
66
  "webpack-subresource-integrity": "5.1.0",
67
- "@modern-js/utils": "0.0.0-nightly-20240128170732",
68
- "@modern-js/server": "0.0.0-nightly-20240128170732",
69
- "@modern-js/prod-server": "0.0.0-nightly-20240128170732"
67
+ "@modern-js/utils": "0.0.0-nightly-20240129170639",
68
+ "@modern-js/server": "0.0.0-nightly-20240129170639",
69
+ "@modern-js/prod-server": "0.0.0-nightly-20240129170639"
70
70
  },
71
71
  "devDependencies": {
72
72
  "@rsbuild/plugin-swc": "0.3.7",
@@ -74,9 +74,9 @@
74
74
  "react": "^18.2.0",
75
75
  "react-dom": "^18.2.0",
76
76
  "typescript": "^5.3.0",
77
- "@scripts/build": "0.0.0-nightly-20240128170732",
78
- "@modern-js/builder-plugin-node-polyfill": "0.0.0-nightly-20240128170732",
79
- "@scripts/vitest-config": "0.0.0-nightly-20240128170732"
77
+ "@modern-js/builder-plugin-node-polyfill": "0.0.0-nightly-20240129170639",
78
+ "@scripts/build": "0.0.0-nightly-20240129170639",
79
+ "@scripts/vitest-config": "0.0.0-nightly-20240129170639"
80
80
  },
81
81
  "publishConfig": {
82
82
  "access": "public",