Commit a4d92803 authored by gxkai's avatar gxkai

fix: baseHref

parent 7902ac43
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
<html> <html>
<head> <head>
<base href="/">
<meta charset="utf-8"> <meta charset="utf-8">
<!-- <!--
The MIT License (MIT) The MIT License (MIT)
......
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
"make-mock-compiler": "node apps/remix-ide/ci/makeMockCompiler.js", "make-mock-compiler": "node apps/remix-ide/ci/makeMockCompiler.js",
"minify": "uglifyjs --in-source-map inline --source-map-inline -c warnings=false", "minify": "uglifyjs --in-source-map inline --source-map-inline -c warnings=false",
"preinstall": "sudo npm install -g node-gyp --allow-root --unsafe-perm", "preinstall": "sudo npm install -g node-gyp --allow-root --unsafe-perm",
"build:dev": "NODE_ENV=production node --max-old-space-size=4096 node_modules/@nrwl/cli/bin/nx.js build remix-ide --prod --skip-nx-cache --parallel=3", "build:dev": "NODE_ENV=production node --max-old-space-size=4096 node_modules/@nrwl/cli/bin/nx.js build remix-ide --prod --baseHref=/ide/ --skip-nx-cache --parallel=3",
"serve:dev": "npx http-server ./dist/apps/remix-ide", "serve:dev": "npx http-server ./dist/apps/remix-ide",
"deploy:dev": "./deploy.sh 172.22.17.165", "deploy:dev": "./deploy.sh 172.22.17.165",
"fix-memory-limit": "cross-env LIMIT=4096 increase-memory-limit", "fix-memory-limit": "cross-env LIMIT=4096 increase-memory-limit",
......
...@@ -88,8 +88,7 @@ ...@@ -88,8 +88,7 @@
], ],
"styles": [], "styles": [],
"scripts": [], "scripts": [],
"webpackConfig": "apps/remix-ide/webpack.config.js", "webpackConfig": "apps/remix-ide/webpack.config.js"
"maxWorkers": 2
}, },
"configurations": { "configurations": {
"production": { "production": {
...@@ -710,8 +709,7 @@ ...@@ -710,8 +709,7 @@
], ],
"styles": [], "styles": [],
"scripts": [], "scripts": [],
"webpackConfig": "apps/remix-ide/webpack.config.js", "webpackConfig": "apps/remix-ide/webpack.config.js"
"maxWorkers": 2
}, },
"configurations": { "configurations": {
"production": { "production": {
...@@ -961,8 +959,7 @@ ...@@ -961,8 +959,7 @@
], ],
"styles": ["apps/solidity-compiler/src/styles.css"], "styles": ["apps/solidity-compiler/src/styles.css"],
"scripts": [], "scripts": [],
"webpackConfig": "apps/remix-ide/webpack.config.js", "webpackConfig": "apps/remix-ide/webpack.config.js"
"maxWorkers": 2
}, },
"configurations": { "configurations": {
"production": { "production": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment