@lark-apaas/fullstack-rspack-preset 0.1.1 → 0.1.2-alpha.0

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.
Files changed (2) hide show
  1. package/lib/preset.js +1 -1
  2. package/package.json +1 -1
package/lib/preset.js CHANGED
@@ -124,7 +124,7 @@ function createRecommendRspackConfig(options) {
124
124
  }),
125
125
  new core_1.default.DefinePlugin({
126
126
  'process.env.NODE_ENV': JSON.stringify(isDev ? 'development' : 'production'),
127
- 'process.env.runtimeMode': 'fullstack',
127
+ 'process.env.runtimeMode': JSON.stringify('fullstack'),
128
128
  'process.env.CLIENT_BASE_PATH': JSON.stringify(clientBasePath),
129
129
  // FIXME:安全漏洞,会读取到服务路径,不应该在客户端代码中使用
130
130
  'process.env.CWD': JSON.stringify(process.cwd()),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-apaas/fullstack-rspack-preset",
3
- "version": "0.1.1",
3
+ "version": "0.1.2-alpha.0",
4
4
  "files": [
5
5
  "lib"
6
6
  ],