qian0817 commented on a change in pull request #1907:
URL: https://github.com/apache/apisix-dashboard/pull/1907#discussion_r638870041
##########
File path: web/package.json
##########
@@ -19,15 +19,15 @@
"lint:style": "stylelint --fix \"src/**/*.less\" --syntax less",
"prettier": "prettier -c --write \"**/*\"",
"site": "yarn run fetch:blocks && yarn run build",
- "start": "umi dev",
- "start:e2e": "cross-env SERVE_ENV=test umi dev",
+ "start": "cp -R ./node_modules/monaco-editor ./public/ && umi dev",
Review comment:
But in order to allow users to not use CDN, we still need to copy the
monaco code to the `public` directory, which will not reduce the dependency.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]