@startupjs/bundler 0.61.2 → 0.61.7

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/mdxLoader.js +4 -0
  2. package/package.json +3 -3
package/lib/mdxLoader.js CHANGED
@@ -19,6 +19,10 @@ module.exports = function getMDXLoader (source) {
19
19
  throw err
20
20
  }
21
21
  }
22
+ // remove {"\n"} inserted by mdx compiler since they break react native rendering
23
+ // and don't actually represent new lines in RN (either on Web or Mobile)
24
+ // NOTE: this is a very simplistic fix and may need to be improved in the future
25
+ source = source.replace(/\{"\\n"\}/g, '')
22
26
  return source
23
27
  }
24
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@startupjs/bundler",
3
- "version": "0.61.2",
3
+ "version": "0.61.7",
4
4
  "description": "Opinionated scripts and configs to develop a react-native-web project",
5
5
  "main": "index.js",
6
6
  "publishConfig": {
@@ -24,7 +24,7 @@
24
24
  "@svgr/core": "^8.1.0",
25
25
  "@svgr/plugin-jsx": "^8.1.0",
26
26
  "@svgr/plugin-svgo": "^8.1.0",
27
- "babel-preset-startupjs": "^0.61.2",
27
+ "babel-preset-startupjs": "^0.61.3",
28
28
  "connect": "^3.7.0",
29
29
  "lodash": "^4.17.20",
30
30
  "remark-gfm": "4.0.1"
@@ -33,5 +33,5 @@
33
33
  "cssxjs": "*",
34
34
  "react-native-svg": "*"
35
35
  },
36
- "gitHead": "00533aa32f235351daadab676a87ca9db0252cbd"
36
+ "gitHead": "4689165ee46d507872f9a9bdeacb4315818adcdf"
37
37
  }