Skip to content

Commit

Permalink
Automated linting update and features.json sync
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and oshi97 committed Sep 14, 2023
1 parent d50aff3 commit ae036d6
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 12 deletions.
1 change: 0 additions & 1 deletion packages/studio-plugin/src/parsers/ComponentTreeParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import { v4 } from "uuid";
import { FileMetadataKind, TypelessPropVal } from "../types";
import StudioSourceFileParser from "./StudioSourceFileParser";
import StaticParsingHelpers from "./helpers/StaticParsingHelpers";
import TypeGuards from "../utils/TypeGuards";
import ParsingOrchestrator from "../ParsingOrchestrator";
import MissingPropsChecker from "./MissingPropsChecker";

Expand Down
34 changes: 23 additions & 11 deletions packages/studio-ui/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,23 +1,35 @@
// vite.config.js
import { resolve } from 'path'
import { defineConfig, PluginOption } from 'vite'
import { resolve } from "path";
import { defineConfig, PluginOption } from "vite";
import svgr from "vite-plugin-svgr";
import { visualizer } from "rollup-plugin-visualizer";
import dts from 'vite-plugin-dts'
import cssInjectedByJsPlugin from 'vite-plugin-css-injected-by-js'
import dts from "vite-plugin-dts";
import cssInjectedByJsPlugin from "vite-plugin-css-injected-by-js";

export default defineConfig({
plugins: [svgr(), dts(), cssInjectedByJsPlugin(), visualizer() as PluginOption],
plugins: [
svgr(),
dts(),
cssInjectedByJsPlugin(),
visualizer() as PluginOption,
],
build: {
outDir: 'lib',
outDir: "lib",
sourcemap: true,
lib: {
entry: resolve(__dirname, 'src/index.ts'),
formats: ['es'],
fileName: 'src/index',
entry: resolve(__dirname, "src/index.ts"),
formats: ["es"],
fileName: "src/index",
},
rollupOptions: {
external: ['virtual_yext-studio-git-data', 'virtual_yext-studio', '@pathToUserProjectRoot/tailwind.config', 'react', 'react-dom', 'react/jsx-runtime'],
external: [
"virtual_yext-studio-git-data",
"virtual_yext-studio",
"@pathToUserProjectRoot/tailwind.config",
"react",
"react-dom",
"react/jsx-runtime",
],
},
},
})
});

0 comments on commit ae036d6

Please sign in to comment.