ko 5.3.9 → 5.3.10

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.
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- const path_1 = __importDefault(require("path"));
6
+ const path_1 = require("path");
7
7
  const fs_1 = require("fs");
8
8
  const mini_css_extract_plugin_1 = require("mini-css-extract-plugin");
9
9
  const autoprefixer_1 = __importDefault(require("autoprefixer"));
@@ -11,8 +11,10 @@ const CSS_LOADER = require.resolve('css-loader');
11
11
  const LESS_LOADER = require.resolve('less-loader');
12
12
  const SASS_LOADER = require.resolve('sass-loader');
13
13
  const POSTCSS_LOADER = require.resolve('postcss-loader');
14
- const antdV4Path = path_1.default.join(process.cwd(), 'node_modules/antd-v4');
15
- const antdV4RealPath = (0, fs_1.realpathSync)(antdV4Path);
14
+ const antdV4Path = (0, path_1.join)(process.cwd(), 'node_modules/antd-v4');
15
+ const antdV4RealPath = (0, fs_1.existsSync)(antdV4Path)
16
+ ? (0, fs_1.realpathSync)(antdV4Path)
17
+ : antdV4Path;
16
18
  const styleLoader = {
17
19
  loader: mini_css_extract_plugin_1.loader,
18
20
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ko",
3
- "version": "5.3.9",
3
+ "version": "5.3.10",
4
4
  "description": "build & lint library",
5
5
  "keywords": [
6
6
  "ko",