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
{{ message }}
This repository was archived by the owner on Jun 7, 2023. It is now read-only.
// See https://webpack.js.org/guides/code-splitting/#splitchunksplugin.
56
64
optimization: {
57
-
moduleIds: 'deterministic',
65
+
moduleIds: "deterministic",
58
66
// Collect all the webpack import runtime into a single file, which is named ``runtime.bundle.js``. This must be statically imported by all pages containing Runestone components.
59
-
runtimeChunk: 'single',
67
+
runtimeChunk: "single",
60
68
splitChunks: {
61
-
chunks: 'all',
69
+
chunks: "all",
62
70
},
63
71
// CSS for production was copied from https://webpack.js.org/plugins/mini-css-extract-plugin/#minimizing-for-production.
// _`webpack_static_imports`: Instead of HTML, produce a list of static imports as JSON. Sphinx will then read this file and inject these imports when creating each page.
72
80
newHtmlWebpackPlugin({
73
-
filename: 'webpack_static_imports.json',
81
+
filename: "webpack_static_imports.json",
74
82
// Don't prepend the ``<head>`` tag and data to the output.
// sql.js support: this wasm file will be fetched dynamically when we initialize sql.js. It is important that we do not change its name, and that it is in the same folder as the js.
85
-
from: 'node_modules/sql.js/dist/sql-wasm.wasm',
86
-
to: '.'
87
-
}],
92
+
patterns: [
93
+
{
94
+
// sql.js support: this wasm file will be fetched dynamically when we initialize sql.js. It is important that we do not change its name, and that it is in the same folder as the js.
0 commit comments