also transpile typescript files

note that these have already been converted to javascript by vite
This commit is contained in:
Bruno Windels 2021-11-09 17:59:58 +01:00
parent da7f66a531
commit 122528f9a9

View file

@ -104,7 +104,7 @@ async function buildLegacyChunk(root, chunkName, code) {
const babelPlugin = babel({
babelrc: false,
filter: filterModule,
//exclude: 'node_modules/**',
extensions: [".js", ".ts"],
babelHelpers: 'bundled',
presets: [
[