We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent baf3cff commit 1aebd6dCopy full SHA for 1aebd6d
examples/basic/rspack.config.js
@@ -2,14 +2,15 @@
2
* @type {import('@rspack/cli').Configuration}
3
*/
4
module.exports = {
5
- entry: {
6
- main: './src/index.js'
7
- },
8
- builtins: {
9
- html: [
10
- {
11
- template: './index.html'
12
- }
13
- ]
14
15
-}
+ context: __dirname,
+ entry: {
+ main: './src/index.js'
+ },
+ builtins: {
+ html: [
+ {
+ template: './index.html'
+ }
+ ]
16
+}
0 commit comments