revojs 0.1.1 → 0.1.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.
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/vite/index.d.ts +1 -0
- package/dist/vite/index.js +3 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/dist/vite/index.d.ts
CHANGED
package/dist/vite/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import { existsSync, readFileSync } from "fs";
|
|
|
8
8
|
|
|
9
9
|
//#region package.json
|
|
10
10
|
var name = "revojs";
|
|
11
|
-
var version = "0.1.
|
|
11
|
+
var version = "0.1.3";
|
|
12
12
|
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region src/server/index.ts
|
|
@@ -71,6 +71,7 @@ function mergeObjects(base, input) {
|
|
|
71
71
|
function createApp(inputConfig) {
|
|
72
72
|
let config = mergeObjects(inputConfig, {
|
|
73
73
|
modules: [],
|
|
74
|
+
externals: [],
|
|
74
75
|
sources: {
|
|
75
76
|
assets: {
|
|
76
77
|
match: "**/*",
|
|
@@ -398,6 +399,7 @@ function revojs(config) {
|
|
|
398
399
|
return {
|
|
399
400
|
appType: "custom",
|
|
400
401
|
resolve: { alias: app.alias },
|
|
402
|
+
build: { rollupOptions: { external: app.config.externals } },
|
|
401
403
|
environments: {
|
|
402
404
|
...app.config.client && { [CLIENT]: {
|
|
403
405
|
consumer: "client",
|