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} */
|
/** @type {import('next').NextConfig} */
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
output: "export",
|
output: "export",
|
||||||
|
basePath: "/" + packageJSON.name,
|
||||||
webpack: (config) => {
|
webpack: (config) => {
|
||||||
config.externals.push({
|
config.externals.push({
|
||||||
"utf-8-validate": "commonjs utf-8-validate",
|
"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",
|
"version": "0.1.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
|
||||||
"build": "next build",
|
"build": "next build",
|
||||||
"start": "next start",
|
"start": "npm run open && next dev",
|
||||||
"lint": "next lint"
|
"lint": "next lint",
|
||||||
|
"open": "npx open-cli http://localhost:3000/rln-js"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@waku/rln": "0.1.1-7e8cb89",
|
"@waku/rln": "0.1.1-0fbf6be",
|
||||||
"@waku/sdk": "^0.0.20",
|
"@waku/sdk": "^0.0.20",
|
||||||
"@waku/utils": "^0.0.12",
|
"@waku/utils": "^0.0.12",
|
||||||
"ethers": "^5.7.2",
|
"ethers": "^5.7.2",
|
||||||
|
@ -28,6 +28,7 @@
|
||||||
"autoprefixer": "^10",
|
"autoprefixer": "^10",
|
||||||
"eslint": "^8",
|
"eslint": "^8",
|
||||||
"eslint-config-next": "13.5.6",
|
"eslint-config-next": "13.5.6",
|
||||||
|
"open-cli": "^7.2.0",
|
||||||
"postcss": "^8",
|
"postcss": "^8",
|
||||||
"tailwindcss": "^3",
|
"tailwindcss": "^3",
|
||||||
"typescript": "^5"
|
"typescript": "^5"
|
||||||
|
|
Loading…
Reference in New Issue