提交 09f358ad 编写于 作者: L linbingquan

fix(rollup.config.js): Clean up.

上级 d5b74090
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.
先完成此消息的编辑!
想要评论请 注册