vite 2.6.0-beta.4 → 2.6.0

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.

Potentially problematic release.


This version of vite might be problematic. Click here for more details.

package/dist/node/cli.js CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var require$$0 = require('events');
4
- var build = require('./chunks/dep-ba6b30a0.js');
4
+ var build = require('./chunks/dep-a8e01c9f.js');
5
5
  var perf_hooks = require('perf_hooks');
6
6
  require('fs');
7
7
  require('path');
@@ -685,7 +685,7 @@ cli
685
685
  .action(async (root, options) => {
686
686
  // output structure is preserved even after bundling so require()
687
687
  // is ok here
688
- const { createServer } = await Promise.resolve().then(function () { return require('./chunks/dep-ba6b30a0.js'); }).then(function (n) { return n.index$1; });
688
+ const { createServer } = await Promise.resolve().then(function () { return require('./chunks/dep-a8e01c9f.js'); }).then(function (n) { return n.index$1; });
689
689
  try {
690
690
  const server = await createServer({
691
691
  root,
@@ -734,7 +734,7 @@ cli
734
734
  .option('--emptyOutDir', `[boolean] force empty outDir when it's outside of root`)
735
735
  .option('-w, --watch', `[boolean] rebuilds when modules have changed on disk`)
736
736
  .action(async (root, options) => {
737
- const { build: build$1 } = await Promise.resolve().then(function () { return require('./chunks/dep-ba6b30a0.js'); }).then(function (n) { return n.build$1; });
737
+ const { build: build$1 } = await Promise.resolve().then(function () { return require('./chunks/dep-a8e01c9f.js'); }).then(function (n) { return n.build$1; });
738
738
  const buildOptions = cleanOptions(options);
739
739
  try {
740
740
  await build$1({
@@ -757,7 +757,7 @@ cli
757
757
  .command('optimize [root]')
758
758
  .option('--force', `[boolean] force the optimizer to ignore the cache and re-bundle`)
759
759
  .action(async (root, options) => {
760
- const { optimizeDeps } = await Promise.resolve().then(function () { return require('./chunks/dep-ba6b30a0.js'); }).then(function (n) { return n.index; });
760
+ const { optimizeDeps } = await Promise.resolve().then(function () { return require('./chunks/dep-a8e01c9f.js'); }).then(function (n) { return n.index; });
761
761
  try {
762
762
  const config = await build.resolveConfig({
763
763
  root,
@@ -1160,7 +1160,7 @@ export declare type PluginOption = Plugin | false | null | undefined;
1160
1160
 
1161
1161
  /**
1162
1162
  * Starts the Vite server in preview mode, to simulate a production deployment
1163
- * @param config - the resolve Vite config
1163
+ * @param config - the resolved Vite config
1164
1164
  * @param serverOptions - what host and port to use
1165
1165
  * @experimental
1166
1166
  */
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var build = require('./chunks/dep-ba6b30a0.js');
5
+ var build = require('./chunks/dep-a8e01c9f.js');
6
6
  require('fs');
7
7
  require('path');
8
8
  require('events');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite",
3
- "version": "2.6.0-beta.4",
3
+ "version": "2.6.0",
4
4
  "license": "MIT",
5
5
  "author": "Evan You",
6
6
  "description": "Native-ESM powered web dev build tool",