forked from mystiq/hydrogen-web
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({
|
const babelPlugin = babel({
|
||||||
babelrc: false,
|
babelrc: false,
|
||||||
filter: filterModule,
|
filter: filterModule,
|
||||||
//exclude: 'node_modules/**',
|
extensions: [".js", ".ts"],
|
||||||
babelHelpers: 'bundled',
|
babelHelpers: 'bundled',
|
||||||
presets: [
|
presets: [
|
||||||
[
|
[
|
||||||
|
|
Loading…
Reference in a new issue