aboutsummaryrefslogtreecommitdiffstats
path: root/webpack.config.js
diff options
context:
space:
mode:
authorYarden Shoham <git@yardenshoham.com>2024-06-20 23:04:09 +0300
committerGitHub <noreply@github.com>2024-06-20 20:04:09 +0000
commita5a9885f72c0c5be35ff7137cc2e2a60d8d11557 (patch)
tree8c463d10cc2e75c7eb5272fcd802e78126121b1e /webpack.config.js
parentc60ef946b1c5ed3347224cda5d3e17592cd16e5e (diff)
downloadgitea-a5a9885f72c0c5be35ff7137cc2e2a60d8d11557.tar.gz
gitea-a5a9885f72c0c5be35ff7137cc2e2a60d8d11557.zip
Bump htmx to 2.0.0 (#31413)
Tested Subscribe, Follow, Star, Watch, and System Status. --------- Signed-off-by: Yarden Shoham <git@yardenshoham.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: silverwind <me@silverwind.io>
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/webpack.config.js b/webpack.config.js
index fdf80a5313..80703c7448 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -76,7 +76,7 @@ export default {
mode: isProduction ? 'production' : 'development',
entry: {
index: [
- fileURLToPath(new URL('web_src/js/jquery.js', import.meta.url)),
+ fileURLToPath(new URL('web_src/js/globals.js', import.meta.url)),
fileURLToPath(new URL('web_src/fomantic/build/semantic.js', import.meta.url)),
fileURLToPath(new URL('web_src/js/index.js', import.meta.url)),
fileURLToPath(new URL('node_modules/easymde/dist/easymde.min.css', import.meta.url)),
@@ -195,9 +195,6 @@ export default {
],
},
plugins: [
- new webpack.ProvidePlugin({ // for htmx extensions
- htmx: 'htmx.org',
- }),
new DefinePlugin({
__VUE_OPTIONS_API__: true, // at the moment, many Vue components still use the Vue Options API
__VUE_PROD_DEVTOOLS__: false, // do not enable devtools support in production