aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/tasks/build.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/tasks/build.js b/build/tasks/build.js
index 79498d012..3fc37da8a 100644
--- a/build/tasks/build.js
+++ b/build/tasks/build.js
@@ -221,7 +221,7 @@ module.exports = function( grunt ) {
// Remove the jQuery export from the entry file, we'll use our own
// custom wrapper.
setOverride( inputRollupOptions.input,
- read( inputFileName ).replace( /\n*export default jQuery;\n*/, "\n" ) );
+ read( inputFileName ).replace( /\n*export \{ jQuery, jQuery as \$ };\n*/, "\n" ) );
// Replace exports/global with a noop noConflict
if ( excluded.includes( "exports/global" ) ) {