This is a high risk change: every byte the card ships is emitted by a
different bundler, minified by a different minifier, and every
stylesheet is compiled by a different sass. The intent is that the
card's behaviour is unchanged.
**Significant development win**: Build time drops from 24s to 1.1s 🎉
Also adds a test suite ('dist') that runs against the built bundle.
24 lines
688 B
TypeScript
24 lines
688 B
TypeScript
declare module '*.scss?inline' {
|
|
const css: string;
|
|
export default css;
|
|
}
|
|
declare module '*.svg' {
|
|
const icon: { path: string; viewBox: string };
|
|
export default icon;
|
|
}
|
|
declare module '*.jpg';
|
|
declare module 'view' {
|
|
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
|
interface ViewContext {}
|
|
}
|
|
declare module 'issue' {
|
|
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
|
interface IssueTriggerContext {}
|
|
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
|
interface IssueResolveContext {}
|
|
}
|
|
declare module 'action' {
|
|
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
|
interface ActionContext {}
|
|
}
|