@simpleview/cms-foundation 0.0.29 → 0.0.30
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.
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
import { defineConfig } from "vite";
|
|
3
3
|
import tsconfigPaths from "vite-tsconfig-paths";
|
|
4
4
|
var config = defineConfig({
|
|
5
|
+
ssr: {
|
|
6
|
+
noExternal: ["@simpleview/cms-foundation"]
|
|
7
|
+
},
|
|
5
8
|
define: {
|
|
6
9
|
"process.env.NODE_ENV": JSON.stringify(process.env.NODE_ENV)
|
|
7
10
|
},
|
|
@@ -36,4 +39,4 @@ var config = defineConfig({
|
|
|
36
39
|
export {
|
|
37
40
|
config
|
|
38
41
|
};
|
|
39
|
-
//# sourceMappingURL=chunk-
|
|
42
|
+
//# sourceMappingURL=chunk-C5B2K7EN.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../src/vite/config.ts"],
|
|
4
|
+
"sourcesContent": ["import { defineConfig } from \"vite\";\r\nimport tsconfigPaths from \"vite-tsconfig-paths\";\r\n\r\nexport const config = defineConfig({\r\n\tssr: {\r\n\t\tnoExternal: [\"@simpleview/cms-foundation\"],\r\n\t},\r\n\tdefine: {\r\n\t\t\"process.env.NODE_ENV\": JSON.stringify(process.env.NODE_ENV),\r\n\t},\r\n\tbuild: {\r\n\t\ttarget: \"es2022\",\r\n\t\tcssMinify: process.env.NODE_ENV === \"production\",\r\n\t\trollupOptions: {\r\n\t\t\texternal: [/node:.*/, \"fsevents\"],\r\n\t\t},\r\n\t\tassetsInlineLimit: (source) => {\r\n\t\t\tif (\r\n\t\t\t\tsource.endsWith(\"sprite.svg\") ||\r\n\t\t\t\tsource.endsWith(\"favicon.svg\") ||\r\n\t\t\t\tsource.endsWith(\"apple-touch-icon.png\")\r\n\t\t\t) {\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t},\r\n\t\tsourcemap: process.env.NODE_ENV === \"development\" ? true : false,\r\n\t},\r\n\tplugins: [tsconfigPaths()],\r\n\tserver: {\r\n\t\tallowedHosts: [\".local.simpleviewcms.app\"],\r\n\t\twatch: {\r\n\t\t\tusePolling: true,\r\n\t\t},\r\n\t\thmr: {\r\n\t\t\tpath: \"/__cms_hmr_ws\",\r\n\t\t\tport: 24678,\r\n\t\t\tclientPort: 443,\r\n\t\t\tprotocol: \"wss\",\r\n\t\t},\r\n\t},\r\n});\r\n"],
|
|
5
|
+
"mappings": ";AAAA,SAAS,oBAAoB;AAC7B,OAAO,mBAAmB;AAEnB,IAAM,SAAS,aAAa;AAAA,EAClC,KAAK;AAAA,IACJ,YAAY,CAAC,4BAA4B;AAAA,EAC1C;AAAA,EACA,QAAQ;AAAA,IACP,wBAAwB,KAAK,UAAU,QAAQ,IAAI,QAAQ;AAAA,EAC5D;AAAA,EACA,OAAO;AAAA,IACN,QAAQ;AAAA,IACR,WAAW,QAAQ,IAAI,aAAa;AAAA,IACpC,eAAe;AAAA,MACd,UAAU,CAAC,WAAW,UAAU;AAAA,IACjC;AAAA,IACA,mBAAmB,CAAC,WAAW;AAC9B,UACC,OAAO,SAAS,YAAY,KAC5B,OAAO,SAAS,aAAa,KAC7B,OAAO,SAAS,sBAAsB,GACrC;AACD,eAAO;AAAA,MACR;AAAA,IACD;AAAA,IACA,WAAW,QAAQ,IAAI,aAAa,gBAAgB,OAAO;AAAA,EAC5D;AAAA,EACA,SAAS,CAAC,cAAc,CAAC;AAAA,EACzB,QAAQ;AAAA,IACP,cAAc,CAAC,0BAA0B;AAAA,IACzC,OAAO;AAAA,MACN,YAAY;AAAA,IACb;AAAA,IACA,KAAK;AAAA,MACJ,MAAM;AAAA,MACN,MAAM;AAAA,MACN,YAAY;AAAA,MACZ,UAAU;AAAA,IACX;AAAA,EACD;AACD,CAAC;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/dist/vite/config.js
CHANGED
package/dist/vite/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simpleview/cms-foundation",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.30",
|
|
5
5
|
"description": "Provides helper types and components to assist when working with Granicus CMS Reactor.",
|
|
6
6
|
"packageManager": "yarn@4.6.0+sha224.acd0786f07ffc6c933940eb65fc1d627131ddf5455bddcc295dc90fd",
|
|
7
7
|
"scripts": {
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../src/vite/config.ts"],
|
|
4
|
-
"sourcesContent": ["import { defineConfig } from \"vite\";\r\nimport tsconfigPaths from \"vite-tsconfig-paths\";\r\n\r\nexport const config = defineConfig({\r\n\tdefine: {\r\n\t\t\"process.env.NODE_ENV\": JSON.stringify(process.env.NODE_ENV),\r\n\t},\r\n\tbuild: {\r\n\t\ttarget: \"es2022\",\r\n\t\tcssMinify: process.env.NODE_ENV === \"production\",\r\n\t\trollupOptions: {\r\n\t\t\texternal: [/node:.*/, \"fsevents\"],\r\n\t\t},\r\n\t\tassetsInlineLimit: (source) => {\r\n\t\t\tif (\r\n\t\t\t\tsource.endsWith(\"sprite.svg\") ||\r\n\t\t\t\tsource.endsWith(\"favicon.svg\") ||\r\n\t\t\t\tsource.endsWith(\"apple-touch-icon.png\")\r\n\t\t\t) {\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t},\r\n\t\tsourcemap: process.env.NODE_ENV === \"development\" ? true : false,\r\n\t},\r\n\tplugins: [tsconfigPaths()],\r\n\tserver: {\r\n\t\tallowedHosts: [\".local.simpleviewcms.app\"],\r\n\t\twatch: {\r\n\t\t\tusePolling: true,\r\n\t\t},\r\n\t\thmr: {\r\n\t\t\tpath: \"/__cms_hmr_ws\",\r\n\t\t\tport: 24678,\r\n\t\t\tclientPort: 443,\r\n\t\t\tprotocol: \"wss\",\r\n\t\t},\r\n\t},\r\n});\r\n"],
|
|
5
|
-
"mappings": ";AAAA,SAAS,oBAAoB;AAC7B,OAAO,mBAAmB;AAEnB,IAAM,SAAS,aAAa;AAAA,EAClC,QAAQ;AAAA,IACP,wBAAwB,KAAK,UAAU,QAAQ,IAAI,QAAQ;AAAA,EAC5D;AAAA,EACA,OAAO;AAAA,IACN,QAAQ;AAAA,IACR,WAAW,QAAQ,IAAI,aAAa;AAAA,IACpC,eAAe;AAAA,MACd,UAAU,CAAC,WAAW,UAAU;AAAA,IACjC;AAAA,IACA,mBAAmB,CAAC,WAAW;AAC9B,UACC,OAAO,SAAS,YAAY,KAC5B,OAAO,SAAS,aAAa,KAC7B,OAAO,SAAS,sBAAsB,GACrC;AACD,eAAO;AAAA,MACR;AAAA,IACD;AAAA,IACA,WAAW,QAAQ,IAAI,aAAa,gBAAgB,OAAO;AAAA,EAC5D;AAAA,EACA,SAAS,CAAC,cAAc,CAAC;AAAA,EACzB,QAAQ;AAAA,IACP,cAAc,CAAC,0BAA0B;AAAA,IACzC,OAAO;AAAA,MACN,YAAY;AAAA,IACb;AAAA,IACA,KAAK;AAAA,MACJ,MAAM;AAAA,MACN,MAAM;AAAA,MACN,YAAY;AAAA,MACZ,UAAU;AAAA,IACX;AAAA,EACD;AACD,CAAC;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|