@umijs/bundler-vite 4.0.2 → 4.0.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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getBrowserlist = void 0;
4
- // refer: https://github.com/umijs/umi-next/blob/867e0c196296efbbdb95203cca35db2fa639808b/packages/bundler-webpack/src/utils/browsersList.ts#L5
4
+ // refer: https://github.com/umijs/umi/blob/867e0c196296efbbdb95203cca35db2fa639808b/packages/bundler-webpack/src/utils/browsersList.ts#L5
5
5
  function getBrowserlist(targets) {
6
6
  return typeof targets.browsers === 'string'
7
7
  ? targets.browser
@@ -54,7 +54,7 @@ async function createServer(opts) {
54
54
  const afterStacks = opts.afterMiddlewares.map((m) => ({
55
55
  route: '',
56
56
  // TODO: FIXME
57
- // see: https://github.com/umijs/umi-next/commit/34d4e4e26a20ff5c7393eab5d3db363cca541379#diff-3a996a9e7a2f94fc8f23c6efed1447eed9567e36ed622bd8547a58e5415087f7R164
57
+ // see: https://github.com/umijs/umi/commit/34d4e4e26a20ff5c7393eab5d3db363cca541379#diff-3a996a9e7a2f94fc8f23c6efed1447eed9567e36ed622bd8547a58e5415087f7R164
58
58
  handle: app.use(m.toString().includes(`{ compiler }`) ? m({}) : m),
59
59
  }));
60
60
  vite.middlewares.stack.splice(i, 0, ...afterStacks);
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@umijs/bundler-vite",
3
- "version": "4.0.2",
3
+ "version": "4.0.3",
4
4
  "description": "@umijs/bundler-vite",
5
- "homepage": "https://github.com/umijs/umi-next/tree/master/packages/bundler-vite#readme",
6
- "bugs": "https://github.com/umijs/umi-next/issues",
5
+ "homepage": "https://github.com/umijs/umi/tree/master/packages/bundler-vite#readme",
6
+ "bugs": "https://github.com/umijs/umi/issues",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "https://github.com/umijs/umi-next"
9
+ "url": "https://github.com/umijs/umi"
10
10
  },
11
11
  "license": "MIT",
12
12
  "main": "dist/index.js",
@@ -28,8 +28,8 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@svgr/core": "6.2.1",
31
- "@umijs/bundler-utils": "4.0.2",
32
- "@umijs/utils": "4.0.2",
31
+ "@umijs/bundler-utils": "4.0.3",
32
+ "@umijs/utils": "4.0.3",
33
33
  "@vitejs/plugin-react": "1.2.0",
34
34
  "postcss-preset-env": "7.5.0",
35
35
  "rollup-plugin-visualizer": "5.6.0"