diff --git a/package.json b/package.json index cd7801836c3af6f08c04885117c212bfa0ee8248..9c7f6dda93a3f0edb5ec291b6a3318780204257f 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ }, "scripts": { "build": "rollup -c", - "build-min": "rollup -c && uglifyjs build/three.js -cm --comments /threejs.org\\\/license/ > build/three.min.js", + "build-min": "rollup -c && uglifyjs build/three.js -cm --preamble \"\/\/ threejs.org\/license\" > build/three.min.js", "dev": "rollup -c -w", "test": "echo \"Error: no test specified\" && exit 1" }, diff --git a/rollup.config.js b/rollup.config.js index bd7ba2fadc00247211e71e70fa96ddbcad8264eb..89196017dfb2bf1ed86b3665b5f8db75936cc340 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -30,6 +30,5 @@ export default { plugins: [ glsl() ], - banner: '// threejs.org/license \n', outro: outro };