Avoid extra assignment for default export

This commit is contained in:
Tim Schaub
2016-12-27 18:25:16 -07:00
parent 3eaa0f412e
commit 490f42d528
5 changed files with 59 additions and 56 deletions
+1 -5
View File
@@ -302,13 +302,9 @@ build/test_rendering_requires.js: $(SPEC_RENDERING_JS)
%shader.js: %shader.glsl src/ol/webgl/shader.mustache bin/pyglslunit.py build/timestamps/node-modules-timestamp
@python bin/pyglslunit.py --input $< | ./node_modules/.bin/mustache - src/ol/webgl/shader.mustache > $@
build/defines.json: src/ol/index.js build/timestamps/node-modules-timestamp
@node tasks/generate-defines.js
.PHONY: package
package: build/defines.json
package:
@rm -rf build/package
@node tasks/generate-defines.js
@cp -r package build
@cd ./src && cp -r ol/* ../build/package
@rm build/package/typedefs.js