Skip to content
Snippets Groups Projects
Commit bfea7955 authored by Tim van Dijen's avatar Tim van Dijen
Browse files

Drop jQuery

parent dbf78ecb
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,6 @@
"es5-shim": "^4.6.5",
"es6-shim": "^0.35.6",
"highlight.js": "^10.7.0",
"jquery": "^3.6.0",
"minimum-node-version": "^3.0.0",
"purecss": "^2.0.6",
"reset-css": "^5.0.1"
......
......@@ -58,24 +58,11 @@ module.exports = environment => {
}
}
]
},
{
// expose jquery for use outside webpack bundle
test: require.resolve('jquery'),
loader: "expose-loader",
options: {
exposes: ["$", "jQuery"],
}
}
]
},
devtool: 'source-map',
plugins: [
// Provides jQuery for other JS bundled with Webpack
new webpack.ProvidePlugin({
$: 'jquery',
jQuery: 'jquery'
}),
new MiniCssExtractPlugin({
filename: localConfig['css_filename'],
ignoreOrder: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment