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 7730793 commit f2a42f7Copy full SHA for f2a42f7
1 file changed
src/components/Splash/second/left.mdx
@@ -1,9 +1,13 @@
1
Start without a configuration file, or provide a custom **webpack.config.js**:
2
3
```js
4
-const path = require("node:path");
+import path from "node:path";
5
+import { fileURLToPath } from "node:url";
6
-module.exports = {
7
+const __filename = fileURLToPath(import.meta.url);
8
+const __dirname = path.dirname(__filename);
9
+
10
+export default {
11
entry: "./src/index.js",
12
output: {
13
path: path.resolve(__dirname, "dist"),
0 commit comments