You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: site/jekyll/guides/webpack.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ module.exports = {
22
22
23
23
// All JavaScript in here will be loaded server-side
24
24
// Expose components globally so ReactJS.NET can use them
25
-
var Components =require('expose?Components!./components');
25
+
var Components =require('expose-loader?Components!./components');
26
26
```
27
27
28
28
The next step is to modify the `webpack.config.js` so that it creates a bundle from `Content/server.js`. A config similar to the following could work as a good starting point:
0 commit comments