Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add a TypeScript project built by Rsbuild #601

Merged
merged 14 commits into from
Sep 19, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove tmp code and assets used to investigate the surge.sh issue
tbouffard committed Sep 8, 2024

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
commit c98fdc9b357cfa337f5f09f2e1aa3427f9210788
11 changes: 0 additions & 11 deletions projects/typescript-vanilla-with-rsbuild/rsbuild.config.ts
Original file line number Diff line number Diff line change
@@ -19,17 +19,6 @@ export default defineConfig({
// converts asset to a separate file and exports the URL address.
type: 'asset/resource',
},
// TMP - to investigate surge.sh issue
{
test: /\.txt$/,
// converts asset to a separate file and exports the URL address.
type: 'asset/resource',
},
// {
// test: /\.xml$/,
// // converts asset to a separate file and exports the URL address.
// type: 'asset/resource',
// },
]);
},
},

This file was deleted.

6 changes: 0 additions & 6 deletions projects/typescript-vanilla-with-rsbuild/src/index.ts
Original file line number Diff line number Diff line change
@@ -4,12 +4,6 @@ import './index.css';
import diagramUrl from './assets/diagram.bpmn.xml';
import { BpmnVisualization, FitType, getVersion, mxgraph } from 'bpmn-visualization';

// TMP - to investigate surge.sh issue
console.log('diagramUrl:', diagramUrl);
import diagramTxtUrl from './assets/diagram.bpmn.txt';
console.log('diagramTxtUrl:', diagramTxtUrl);
// end of TMP


document.querySelector('#root')!.innerHTML = `
<h1 class="title">bpmn-visualization TypeScript Integration with Rsbuild</h1>