Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Commit

Permalink
Fixes #1947 Fix webpack reordering import statements (#1955)
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Stichbury <2533428+nzjony@users.noreply.github.com>
  • Loading branch information
nzjony committed Nov 6, 2020
1 parent bd7a42d commit da27da7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

self.importScripts("three.min.js");

import "./deps";
import {
GeoJsonTilerService,
VectorTileDecoderService
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/*
* Copyright (C) 2017-2020 HERE Europe B.V.
* Licensed under Apache 2.0, see full license in LICENSE
* SPDX-License-Identifier: Apache-2.0
*/
// This file is a simple work for webpack reordering the dependencies, i.e. imports are put
// before importScripts.
self.importScripts("three.min.js");

0 comments on commit da27da7

Please sign in to comment.