Skip to content

Commit 780a057

Browse files
committed
Core: use correct module format for r.js optimization
1 parent 74f8a0a commit 780a057

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ui/core.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,7 @@ define( [
1717
"./tabbable",
1818
"./unique-id",
1919
"./version"
20-
] );
20+
], function() {
21+
// here define an empty function to let r.js(the bundler of require.js) to generate an independent entry in the generated bundle file.
22+
} );
2123
} )();

0 commit comments

Comments
 (0)