@rnw-community/nestjs-webpack-swc 0.27.2 → 0.27.3

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/package.json +2 -2
  2. package/readme.md +9 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rnw-community/nestjs-webpack-swc",
3
- "version": "0.27.2",
3
+ "version": "0.27.3",
4
4
  "private": false,
5
5
  "description": "NestJS typed config",
6
6
  "keywords": [
@@ -35,7 +35,7 @@
35
35
  "engines": {
36
36
  "node": ">=14.0.0"
37
37
  },
38
- "gitHead": "ca14e9bf8591e0c9d98c889e047bab91e1764606",
38
+ "gitHead": "b8c1506c2eb2eb0053cbf3566d7f84d67ca7967d",
39
39
  "devDependencies": {
40
40
  "@types/webpack-env": "^1.18.0",
41
41
  "@types/webpack-node-externals": "^2.5.3",
package/readme.md CHANGED
@@ -56,7 +56,12 @@ Change `package.json` `build`, `start:dev` scripts:
56
56
  For maximum speed webpack is configured to generate [filesystem cache](https://webpack.js.org/configuration/cache/) and uses `.build_cache` folder
57
57
  in package root, so you need to add it to your `.gitignore` file.
58
58
 
59
- ## Typeorm migrations
59
+ ## Possible webpack issues
60
+
61
+ Due to webpack bundling approach you may encounter problems with packages that use absolute/relative paths, each of this
62
+ cases needs separate solutions. Feel free to open an issue.
63
+
64
+ ### Typeorm migrations
60
65
 
61
66
  If your project is using [TypeORM](https://typeorm.io), then you will face problems with running migrations from NestJS app,
62
67
  this package provides utility for loading TypeORM migrations within webpack build.
@@ -82,7 +87,9 @@ this package provides utility for loading TypeORM migrations within webpack buil
82
87
  const migrations = importTypeormWebpackMigrations(require.context('./migration/', true, /\.ts$/u));
83
88
  ```
84
89
 
85
- ## SWC bindings
90
+ ## SWC possible issues
91
+
92
+ ### SWC bindings
86
93
 
87
94
  If your project is running inside the docker container and your host system has different architecture
88
95
  you may end up with `Error: Bindings not found` SWC error, this is happening because when you install