Revert "Match Creator's universal module resolution algorithm (#9174)"

This reverts commit ebf2754bc3.
This commit is contained in:
Santy-Wang
2021-08-19 14:08:52 +08:00
committed by GitHub
parent f9f7ec3a68
commit c80722cd8f
9 changed files with 7 additions and 9 deletions
View File
+1 -1
View File
@@ -30,7 +30,7 @@
/* eslint-disable no-console */
import { EDITOR, JSB, DEV, DEBUG } from 'internal:constants';
import debugInfos from '../../../DebugInfos.json';
import debugInfos from '../../../DebugInfos';
import { legacyCC } from '../global-exports';
const ERROR_MAP_URL = 'https://github.com/cocos-creator/engine/blob/3d/EngineErrorMap.md';
+1 -1
View File
@@ -42,7 +42,7 @@ import { BlendFactor } from '../core/gfx';
import { path } from '../core/utils';
import { PNGReader } from './png-reader';
import { TiffReader } from './tiff-reader';
import codec from '../../external/compression/ZipUtils.js';
import codec from '../../external/compression/ZipUtils';
import { Batcher2D } from '../2d/renderer/batcher-2d';
import { assetManager } from '../core/asset-manager';
import { PositionType, EmitterMode, DURATION_INFINITY, START_RADIUS_EQUAL_TO_END_RADIUS, START_SIZE_EQUAL_TO_END_SIZE } from './define';
+1 -1
View File
@@ -32,7 +32,7 @@
*/
import { getError } from '../core/platform/debug';
import zlib from '../../external/compression/zlib.min.js';
import zlib from '../../external/compression/zlib.min';
/**
* A png file reader
+1 -1
View File
@@ -31,7 +31,7 @@
import { ccclass, type, serializable, editable } from 'cc.decorator';
import { createMesh } from '../3d/misc';
import { Mesh } from '../3d/assets/mesh';
import * as primitives from './index';
import * as primitives from '.';
import { ccenum } from '../core/value-types/enum';
import { legacyCC } from '../core/global-exports';
+1 -1
View File
@@ -4,7 +4,7 @@
*/
import { ccenum } from '../core';
import spine from './lib/spine-core.js';
import spine from './lib/spine-core';
/**
* @en
-1
View File
@@ -1 +0,0 @@
{ "type": "module" }
+2 -2
View File
@@ -3,8 +3,8 @@
All rights reserved.
You can choose between MIT and BSD-3-Clause license. License file will be added later.
--*/
import Base64 from './base64.js';
import GZip from './gzip.js';
import Base64 from './base64';
import GZip from './gzip';
var codec = {name:'Jacob__Codec'};
codec.Base64 = Base64;
-1
View File
@@ -1 +0,0 @@
{ "type": "module" }