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/CHANGELOG.md +4 -0
- package/dist/node/chunks/{dep-c4cf6e92.js → dep-3dfd7e9d.js} +2 -2
- package/dist/node/chunks/{dep-c4cf6e92.js.map → dep-3dfd7e9d.js.map} +1 -1
- package/dist/node/chunks/{dep-1e0a75a8.js → dep-634481ad.js} +2 -2
- package/dist/node/chunks/{dep-1e0a75a8.js.map → dep-634481ad.js.map} +1 -1
- package/dist/node/chunks/{dep-ba6b30a0.js → dep-a8e01c9f.js} +5 -5
- package/dist/node/chunks/{dep-ba6b30a0.js.map → dep-a8e01c9f.js.map} +1 -1
- package/dist/node/chunks/{dep-d574094c.js → dep-ef9ed964.js} +2 -2
- package/dist/node/chunks/{dep-d574094c.js.map → dep-ef9ed964.js.map} +1 -1
- package/dist/node/cli.js +4 -4
- package/dist/node/index.d.ts +1 -1
- package/dist/node/index.js +1 -1
- package/package.json +1 -1
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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,
|
package/dist/node/index.d.ts
CHANGED
|
@@ -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
|
|
1163
|
+
* @param config - the resolved Vite config
|
|
1164
1164
|
* @param serverOptions - what host and port to use
|
|
1165
1165
|
* @experimental
|
|
1166
1166
|
*/
|
package/dist/node/index.js
CHANGED