Registry / web-framework / webpack-jquery-ui

webpack-jquery-ui

JSON →
library2.0.1jsnpmunverified

This package bundles jQuery UI (v1.12.1) with all necessary webpack loaders and plugins, simplifying configuration. Maintained as a convenience wrapper, it provides modular imports for interactions, widgets, and effects, automatically loading core dependencies. Version 2.0.1 is the latest; use is declining as modern frameworks adopt native solutions. Key differentiator: reduces boilerplate for webpack + jQuery UI projects.

npm install webpack-jquery-ui
INSTALL
IMPORT
SIG · WEBPACK-JQUERY-UI
W
webpack-jquery-ui
web-frameworkjavascriptv2.0.1
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

webpack-jquery-ui
import 'webpack-jquery-ui'
import jQueryUI from 'webpack-jquery-ui'
Default import is not supported; the entire module is side-effects only. Use bare import.
css
import 'webpack-jquery-ui/css'
import css from 'webpack-jquery-ui/css'
CSS import similarly is a side-effect; default import will be undefined.
interactions
require('webpack-jquery-ui/interactions')
import { interactions } from 'webpack-jquery-ui'
Named exports not available. Use CommonJS require with subpath.

Sets up full jQuery UI with webpack, including ProvidePlugin and CSS loading.

// install: npm install webpack-jquery-ui jquery // webpack.config.js const path = require('path'); const webpack = require('webpack'); module.exports = { entry: './src/index.js', output: { filename: 'bundle.js', path: path.resolve(__dirname, 'dist'), publicPath: 'dist/' }, module: { rules: [ { test: /\.css$/, use: ['style-loader', 'css-loader'] }, { test: /\.(png|jpe?g|gif)$/i, use: 'file-loader' } ] }, plugins: [ new webpack.ProvidePlugin({ $: 'jquery', jQuery: 'jquery', 'window.jQuery': 'jquery', 'window.$': 'jquery' }) ] }; // index.js require('webpack-jquery-ui'); require('webpack-jquery-ui/css'); $(function() { $('#datepicker').datepicker(); });
Debug
Known issues
deprecatedwebpack-jquery-ui is not actively maintained; consider migrating to modern frameworks like React/Vue or using jQuery UI CDN directly.
fix
Evaluate alternative UI libraries or serve jQuery UI via script tags in HTML.
affects: *
gotchaThe package does not include jQuery itself; you must install jquery separately as a dependency.
fix
Run 'npm install jquery' and ensure ProvidePlugin aliases are set in webpack config.
affects: *
gotchaWebpack 4+ requires style-loader and css-loader to be installed as dev dependencies; they are not automatically included by this package.
fix
Install 'npm install --save-dev style-loader css-loader file-loader'.
affects: >=2.0
breakingjQuery UI v1.12.1 has known XSS vulnerabilities (CVE-2016-7103) in the dialog widget.
fix
Update to latest jQuery UI patch or sanitize user input manually.
affects: >=2.0
Errors
Common errors & fixes
Error: Cannot find module 'jquery'
jquery not installed as a dependency
fix
Run 'npm install jquery' and add ProvidePlugin to webpack config.
Error: Module parse failed: Unexpected token (1:0) You may need an appropriate loader to handle this file type.
Missing style-loader or css-loader for CSS files
fix
Install 'npm install --save-dev style-loader css-loader' and add a rule for .css files in webpack config.
$(...).datepicker is not a function
jQuery UI not properly loaded or initialized after DOM ready
fix
Ensure you have require('webpack-jquery-ui') in your entry file and wrap code in $(function() { ... }) or DOMContentLoaded event.
Upgrade
Version history
2.0.1latest on npm
Audit
Dependencies
jqueryrequiredpeer dependency required for jQuery UI
jquery-uirequiredcore jQuery UI library
css-loaderrequiredrequired to load CSS files
style-loaderrequiredinjects CSS into DOM
file-loaderoptionalhandles image assets
Agent activity
11 hits · last 30 days
node
10
OpenAI (training)
1
Resources
webpack-jquery-ui — npm install webpack-jquery-ui · libregistry