Closed
Description
The documentation mentions that @rollup/plugin-typescript does not work properly. However, after trying to use @rollup/plugin-typescript in @web/dev-server, I found no errors and it seems to work as expected.
Here is the code:
import typescript from '@rollup/plugin-typescript';
const ts = fromRollup(typescript);
export default {
...
plugins: [ts()],
};
Is this due to an update in the packages, but the documentation has not been updated yet?
Or is it because some features of TypeScript are not supported?
The problem encountered at the moment is that during the development process, TypeScript compilation is slower than page refresh, causing the page to display data from the previous iteration.
Metadata
Metadata
Assignees
Labels
No labels