From 8ccc6db3b9cddc5a2b1650de28ffb83ad140db16 Mon Sep 17 00:00:00 2001 From: Alex Lubbock Date: Sat, 10 Aug 2024 23:23:15 +0100 Subject: [PATCH] chore(deps): bump expose-loader to v1 (#45) --- thunorweb/webpack/package.json | 2 +- thunorweb/webpack/webpack.config.js | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/thunorweb/webpack/package.json b/thunorweb/webpack/package.json index 65f9e515..7a80c24f 100644 --- a/thunorweb/webpack/package.json +++ b/thunorweb/webpack/package.json @@ -33,7 +33,7 @@ "bootstrap-loader": "^4.0.0", "compression-webpack-plugin": "^6.1.1", "css-loader": "^2.1.0", - "expose-loader": "^0.7.5", + "expose-loader": "^1.0.0", "mini-css-extract-plugin": "^0.12.0", "file-loader": "^3.0.1", "ignore-unchanged-webpack-plugin": "^1.0.3", diff --git a/thunorweb/webpack/webpack.config.js b/thunorweb/webpack/webpack.config.js index 23c334ed..00c79c9f 100644 --- a/thunorweb/webpack/webpack.config.js +++ b/thunorweb/webpack/webpack.config.js @@ -14,14 +14,14 @@ var config = { entry: { favicons: glob.sync("./thunor/favicons/*"), - app: ["expose-loader?pyHTS!./thunor/js/pyhts", + app: ["expose-loader?exposes=pyHTS!./thunor/js/pyhts", "./thunor/css/fonts.css", "./thunor/css/pyhts.css"], //TODO: Compile more modules from source, removing unneeded components - plots: ["expose-loader?Plotly!./plotly"], - sentry: ["expose-loader?Sentry!@sentry/browser"], - vendor: ["expose-loader?jQuery!expose-loader?$!jquery", // sitewide + plots: ["expose-loader?exposes=Plotly!./plotly"], + sentry: ["expose-loader?exposes=Sentry!@sentry/browser"], + vendor: ["expose-loader?exposes=jQuery!expose-loader?exposes=$!jquery", // sitewide // "bootstrap/dist/js/bootstrap", // "bootstrap/dist/css/bootstrap.css", "bootstrap-loader", @@ -31,7 +31,7 @@ var config = { "bootstrap-switch/dist/css/bootstrap3/bootstrap-switch.css", // file downloads - "expose-loader?FileSaver!file-saver", + "expose-loader?exposes=FileSaver!file-saver", // TSV parser "d3-dsv",