diff --git a/config/webpack.config.js b/config/webpack.config.js index 9bee7baceb7d9522709ad85a0b7b3cc095895829..f71bd68613609c99c137ac937fb5b15863f030dd 100644 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -60,12 +60,6 @@ var config = { 'stage-2' ] } - }, - { - test: /\.(js|es6)$/, - exclude: /node_modules/, - loader: 'imports-loader', - options: 'this=>window' } ] }, diff --git a/package.json b/package.json index c696de439bd1331ad6798cca6dd2329b43867c9c..ad0aaef1897115e86d4e1ed555e93dea6e804e47 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,6 @@ "d3": "^3.5.11", "dropzone": "^4.2.0", "es6-promise": "^4.0.5", - "imports-loader": "^0.6.5", "jquery": "^2.2.1", "jquery-ui": "git+https://github.com/jquery/jquery-ui#1.11.4", "jquery-ujs": "^1.2.1", diff --git a/yarn.lock b/yarn.lock index b44d6e69bc63768a611d886c80bf874006cc06bc..ad4b5223d60dfe964ede15c55c26a0d26729845d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2273,13 +2273,6 @@ ignore@^3.2.0: version "3.2.2" resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.2.2.tgz#1c51e1ef53bab6ddc15db4d9ac4ec139eceb3410" -imports-loader@^0.6.5: - version "0.6.5" - resolved "https://registry.yarnpkg.com/imports-loader/-/imports-loader-0.6.5.tgz#ae74653031d59e37b3c2fb2544ac61aeae3530a6" - dependencies: - loader-utils "0.2.x" - source-map "0.1.x" - imurmurhash@^0.1.4: version "0.1.4" resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea"