bug: fix base path (#288)
* bug: fix base path * add open script * up rln
This commit is contained in:
parent
85d8156b7a
commit
659078e71a
|
@ -1,6 +1,9 @@
|
|||
const packageJSON = require("./package.json");
|
||||
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
output: "export",
|
||||
basePath: "/" + packageJSON.name,
|
||||
webpack: (config) => {
|
||||
config.externals.push({
|
||||
"utf-8-validate": "commonjs utf-8-validate",
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -3,13 +3,13 @@
|
|||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
"build": "next build",
|
||||
"start": "next start",
|
||||
"lint": "next lint"
|
||||
"start": "npm run open && next dev",
|
||||
"lint": "next lint",
|
||||
"open": "npx open-cli http://localhost:3000/rln-js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@waku/rln": "0.1.1-7e8cb89",
|
||||
"@waku/rln": "0.1.1-0fbf6be",
|
||||
"@waku/sdk": "^0.0.20",
|
||||
"@waku/utils": "^0.0.12",
|
||||
"ethers": "^5.7.2",
|
||||
|
@ -28,6 +28,7 @@
|
|||
"autoprefixer": "^10",
|
||||
"eslint": "^8",
|
||||
"eslint-config-next": "13.5.6",
|
||||
"open-cli": "^7.2.0",
|
||||
"postcss": "^8",
|
||||
"tailwindcss": "^3",
|
||||
"typescript": "^5"
|
||||
|
|
Loading…
Reference in New Issue