mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 16:12:40 +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
Generated
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@cocos/build-engine",
|
||||
"version": "3.0.2",
|
||||
"version": "3.0.3",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@cocos/build-engine",
|
||||
"version": "3.0.2",
|
||||
"version": "3.0.3",
|
||||
"description": "",
|
||||
"main": "dist/index.js",
|
||||
"dependencies": {
|
||||
|
||||
@@ -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