Explorar el Código

chore(dev-server): Comment out ui extensions by default

Michael Bromley hace 1 año
padre
commit
9db77d79b1
Se han modificado 1 ficheros con 18 adiciones y 18 borrados
  1. 18 18
      packages/dev-server/dev-config.ts

+ 18 - 18
packages/dev-server/dev-config.ts

@@ -102,24 +102,24 @@ export const devConfig: VendureConfig = {
             route: 'admin',
             port: 5001,
             // Un-comment to compile a custom admin ui
-            app: compileUiExtensions({
-                outputPath: path.join(__dirname, './custom-admin-ui'),
-                extensions: [
-                    {
-                        id: 'ui-extensions-library',
-                        extensionPath: path.join(__dirname, 'example-plugins/ui-extensions-library/ui'),
-                        routes: [{ route: 'ui-library', filePath: 'routes.ts' }],
-                        providers: ['providers.ts'],
-                    },
-                    {
-                        globalStyles: path.join(
-                            __dirname,
-                            'test-plugins/with-ui-extension/ui/custom-theme.scss',
-                        ),
-                    },
-                ],
-                devMode: true,
-            }),
+            // app: compileUiExtensions({
+            //     outputPath: path.join(__dirname, './custom-admin-ui'),
+            //     extensions: [
+            //         {
+            //             id: 'ui-extensions-library',
+            //             extensionPath: path.join(__dirname, 'example-plugins/ui-extensions-library/ui'),
+            //             routes: [{ route: 'ui-library', filePath: 'routes.ts' }],
+            //             providers: ['providers.ts'],
+            //         },
+            //         {
+            //             globalStyles: path.join(
+            //                 __dirname,
+            //                 'test-plugins/with-ui-extension/ui/custom-theme.scss',
+            //             ),
+            //         },
+            //     ],
+            //     devMode: true,
+            // }),
         }),
     ],
 };