mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-03 17:42:41 +08:00
@cocos/build-engine 3.0.3(1.2 + ByteDance support) (#7129)
This commit is contained in:
committed by
GitHub
parent
349c316c36
commit
1cdacdee80
@@ -1,8 +1,7 @@
|
||||
|
||||
import fs from 'fs-extra';
|
||||
import ps from 'path';
|
||||
// @ts-ignore
|
||||
import rpBabel from '@rollup/plugin-babel';
|
||||
import rpBabel, { RollupBabelInputPluginOptions } from '@rollup/plugin-babel';
|
||||
import json from '@rollup/plugin-json';
|
||||
import resolve from '@rollup/plugin-node-resolve';
|
||||
import commonjs from '@rollup/plugin-commonjs';
|
||||
@@ -245,7 +244,7 @@ async function _doBuild ({
|
||||
}]);
|
||||
}
|
||||
|
||||
const babelOptions = {
|
||||
const babelOptions: RollupBabelInputPluginOptions = {
|
||||
babelHelpers: 'bundled',
|
||||
extensions: ['.js', '.ts'],
|
||||
highlightCode: true,
|
||||
|
||||
Reference in New Issue
Block a user