also transpile typescript files
note that these have already been converted to javascript by vite
This commit is contained in:
parent
da7f66a531
commit
122528f9a9
1 changed files with 1 additions and 1 deletions
|
@ -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: [
|
||||
[
|
||||
|
|
Reference in a new issue