@umijs/plugin-docs 4.0.0-canary.20220729.2 → 4.0.0-canary.20220809.1

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.
@@ -1,5 +1,5 @@
1
1
  /*
2
- ! tailwindcss v3.1.6 | MIT License | https://tailwindcss.com
2
+ ! tailwindcss v3.1.3 | MIT License | https://tailwindcss.com
3
3
  */
4
4
 
5
5
  /*
@@ -355,6 +355,13 @@ input::-moz-placeholder, textarea::-moz-placeholder {
355
355
  /* 2 */
356
356
  }
357
357
 
358
+ input:-ms-input-placeholder, textarea:-ms-input-placeholder {
359
+ opacity: 1;
360
+ /* 1 */
361
+ color: #9ca3af;
362
+ /* 2 */
363
+ }
364
+
358
365
  input::placeholder,
359
366
  textarea::placeholder {
360
367
  opacity: 1;
package/dist/compiler.js CHANGED
@@ -85,6 +85,9 @@ function MDXContent(props = {}) {
85
85
  import_plugin_utils.logger.error(`Above error occurred in ${opts.fileName} at line ${e.line}`);
86
86
  import_plugin_utils.logger.error(opts.content.split("\n").filter((_, i) => i == e.line - 1).join("\n"));
87
87
  import_plugin_utils.logger.error(" ".repeat(e.column - 1) + "^");
88
+ if (process.env.NODE_ENV === "production") {
89
+ throw new Error("compile error");
90
+ }
88
91
  return { result: "" };
89
92
  }
90
93
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umijs/plugin-docs",
3
- "version": "4.0.0-canary.20220729.2",
3
+ "version": "4.0.0-canary.20220809.1",
4
4
  "description": "@umijs/plugin-docs",
5
5
  "homepage": "https://github.com/umijs/umi/tree/master/packages/plugin-docs#readme",
6
6
  "bugs": "https://github.com/umijs/umi/issues",
@@ -42,7 +42,7 @@
42
42
  "rehype-slug": "5.0.1",
43
43
  "remark-gfm": "^3.0.1",
44
44
  "tailwindcss": "^3.0.24",
45
- "umi": "4.0.0-canary.20220729.2"
45
+ "umi": "4.0.0-canary.20220809.1"
46
46
  },
47
47
  "publishConfig": {
48
48
  "access": "public"