File types for which we support incremental bundling
C3 AI Platform supports an iterative development experience. Once you start bundle your UI through the C3 AI VS Code extension, VS Code automatically listens for changes in specific UI files and re-generates the UI of your application.
The following table lists all file formats with support for incremental bundling:
| File Type | Description | Supported for incremental bundling? | Required file location (glob exp) |
|---|---|---|---|
.js | UI .js files | ✅ | /ui/c3/src/*.js or /ui/c3/src/*.js |
.json | JSON metadata files | ✅ | /ui/c3/meta/**/*.json or /test/ui/c3/meta/**/*.json |
.json or .csv | Config files | ✅ | /ui/c3/config/* or /test/ui/c3/config/* |
.json or .csv | UiSdlRoute files | ✅ | /metadata/UiSdlRoute/* or /test/metadata/UiSdlRoute/* |
.json or .csv | Translation files | ✅ | /metadata/Translation/* or /test/metadata/Translation/* |
.jsx | SDL React files | ✅ | /ui/sdl-react/src/**/.* |
.tsx or .ts | TSX or TS custom components | ✅ | /ui/c3/src/customComponents/**/*.ts[x] or /test/ui/c3/src/customComponents/**/*.ts[x] |
.tsx or .ts | TSX or TS source files | ✅ | /src/**/*.ts[x] or /test/src/**/*.ts[x] |
.tsx or .ts | Browser test files | ✅ | /test/ts-c3ui-browser/**/*.ts[x] |
.scss | SCSS Style files | ✅ | /src/**/*.scss or /test/src/**/*.scss |
Creating new files
All the file types above that are supported for incremental bundling are also supported when adding new files.