kirbyup 3.1.11 → 3.1.12
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.
package/dist/node/cli.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { cac } from 'cac';
|
|
2
|
-
import { n as name, b as build, s as serve, v as version, h as handleError } from '../shared/kirbyup.
|
|
2
|
+
import { n as name, b as build, s as serve, v as version, h as handleError } from '../shared/kirbyup.TnJrqKie.mjs';
|
|
3
3
|
import 'node:fs';
|
|
4
4
|
import 'node:fs/promises';
|
|
5
5
|
import 'pathe';
|
package/dist/node/index.mjs
CHANGED
|
@@ -10,7 +10,7 @@ import '@vitejs/plugin-vue2';
|
|
|
10
10
|
import '@vitejs/plugin-vue2-jsx';
|
|
11
11
|
import 'vite-plugin-full-reload';
|
|
12
12
|
import 'rollup-plugin-external-globals';
|
|
13
|
-
export { b as build, s as serve } from '../shared/kirbyup.
|
|
13
|
+
export { b as build, s as serve } from '../shared/kirbyup.TnJrqKie.mjs';
|
|
14
14
|
import 'node:zlib';
|
|
15
15
|
import 'node:util';
|
|
16
16
|
import 'node:buffer';
|
|
@@ -21,7 +21,7 @@ import MagicString from 'magic-string';
|
|
|
21
21
|
import 'node:module';
|
|
22
22
|
|
|
23
23
|
const name = "kirbyup";
|
|
24
|
-
const version = "3.1.
|
|
24
|
+
const version = "3.1.12";
|
|
25
25
|
|
|
26
26
|
class PrettyError extends Error {
|
|
27
27
|
constructor(message) {
|
|
@@ -383,7 +383,12 @@ function getViteConfig(command, options) {
|
|
|
383
383
|
kirbyupGlobImportPlugin(),
|
|
384
384
|
{ ...externalGlobals({ vue: "Vue" }), enforce: "post" }
|
|
385
385
|
],
|
|
386
|
-
|
|
386
|
+
build: {
|
|
387
|
+
copyPublicDir: false
|
|
388
|
+
},
|
|
389
|
+
css: {
|
|
390
|
+
postcss: resolvedPostCssConfig
|
|
391
|
+
},
|
|
387
392
|
envPrefix: ["VITE_", "KIRBYUP_"],
|
|
388
393
|
customLogger: logger,
|
|
389
394
|
logLevel
|
|
@@ -412,8 +417,8 @@ function getViteConfig(command, options) {
|
|
|
412
417
|
}
|
|
413
418
|
const mode = options.watch ? "development" : "production";
|
|
414
419
|
const buildConfig = mergeConfig(sharedConfig, {
|
|
415
|
-
plugins: [kirbyupBuildCleanupPlugin(options)],
|
|
416
420
|
mode,
|
|
421
|
+
plugins: [kirbyupBuildCleanupPlugin(options)],
|
|
417
422
|
build: {
|
|
418
423
|
lib: {
|
|
419
424
|
entry: resolve(options.cwd, options.entry),
|