未验证 提交 0d8505c6 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #21047 from linbingquan/dev-cleanup-rollup

fix(rollup.config.js): Clean up.
import babel from "@rollup/plugin-babel";
import { terser } from "rollup-plugin-terser";
import babel from '@rollup/plugin-babel';
import { terser } from 'rollup-plugin-terser';
if ( String.prototype.replaceAll === undefined ) {
......@@ -260,7 +260,7 @@ function header() {
renderChunk( code ) {
return "// threejs.org/license\n" + code;
return '// threejs.org/license\n' + code;
}
......@@ -276,7 +276,7 @@ function polyfills() {
if ( filePath.endsWith( 'src/Three.js' ) || filePath.endsWith( 'src\\Three.js' ) ) {
code = "import './polyfills';\n" + code;
code = 'import \'./polyfills\';\n' + code;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册