vite 2.7.0-beta.2 → 2.7.0-beta.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.
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-caa1572d.js → dep-5243d0d3.js} +76 -77
- package/dist/node/chunks/dep-5243d0d3.js.map +1 -0
- package/dist/node/chunks/{dep-b89007db.js → dep-59a3bcf9.js} +2 -2
- package/dist/node/chunks/{dep-b89007db.js.map → dep-59a3bcf9.js.map} +1 -1
- package/dist/node/chunks/{dep-39172335.js → dep-777faa4b.js} +2 -2
- package/dist/node/chunks/{dep-39172335.js.map → dep-777faa4b.js.map} +1 -1
- package/dist/node/chunks/{dep-e85c9ca9.js → dep-c1084913.js} +2 -2
- package/dist/node/chunks/{dep-e85c9ca9.js.map → dep-c1084913.js.map} +1 -1
- package/dist/node/cli.js +4 -4
- package/dist/node/index.js +1 -1
- package/package.json +1 -1
- package/dist/node/chunks/dep-caa1572d.js.map +0 -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-5243d0d3.js');
|
|
5
5
|
var perf_hooks = require('perf_hooks');
|
|
6
6
|
require('fs');
|
|
7
7
|
require('path');
|
|
@@ -686,7 +686,7 @@ cli
|
|
|
686
686
|
.action(async (root, options) => {
|
|
687
687
|
// output structure is preserved even after bundling so require()
|
|
688
688
|
// is ok here
|
|
689
|
-
const { createServer } = await Promise.resolve().then(function () { return require('./chunks/dep-
|
|
689
|
+
const { createServer } = await Promise.resolve().then(function () { return require('./chunks/dep-5243d0d3.js'); }).then(function (n) { return n.index$1; });
|
|
690
690
|
try {
|
|
691
691
|
const server = await createServer({
|
|
692
692
|
root,
|
|
@@ -735,7 +735,7 @@ cli
|
|
|
735
735
|
.option('--emptyOutDir', `[boolean] force empty outDir when it's outside of root`)
|
|
736
736
|
.option('-w, --watch', `[boolean] rebuilds when modules have changed on disk`)
|
|
737
737
|
.action(async (root, options) => {
|
|
738
|
-
const { build: build$1 } = await Promise.resolve().then(function () { return require('./chunks/dep-
|
|
738
|
+
const { build: build$1 } = await Promise.resolve().then(function () { return require('./chunks/dep-5243d0d3.js'); }).then(function (n) { return n.build$1; });
|
|
739
739
|
const buildOptions = cleanOptions(options);
|
|
740
740
|
try {
|
|
741
741
|
await build$1({
|
|
@@ -758,7 +758,7 @@ cli
|
|
|
758
758
|
.command('optimize [root]')
|
|
759
759
|
.option('--force', `[boolean] force the optimizer to ignore the cache and re-bundle`)
|
|
760
760
|
.action(async (root, options) => {
|
|
761
|
-
const { optimizeDeps } = await Promise.resolve().then(function () { return require('./chunks/dep-
|
|
761
|
+
const { optimizeDeps } = await Promise.resolve().then(function () { return require('./chunks/dep-5243d0d3.js'); }).then(function (n) { return n.index; });
|
|
762
762
|
try {
|
|
763
763
|
const config = await build.resolveConfig({
|
|
764
764
|
root,
|
package/dist/node/index.js
CHANGED