Skip to content

Commit 084174b

Browse files
gero3mrdoob
authored andcommitted
Add licensing info to the builds (mrdoob#9547)
1 parent 020a0ff commit 084174b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
},
2222
"scripts": {
2323
"build": "rollup -c",
24-
"build-min": "rollup -c && uglifyjs build/three.js -cm > build/three.min.js",
24+
"build-min": "rollup -c && uglifyjs build/three.js -cm --comments /threejs.org\\\/license/ > build/three.min.js",
2525
"dev": "rollup -c -w",
2626
"test": "echo \"Error: no test specified\" && exit 1"
2727
},

rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ export default {
3030
plugins: [
3131
glsl()
3232
],
33-
33+
banner: '// threejs.org/license \n',
3434
outro: outro
3535
};

0 commit comments

Comments
 (0)