Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to configure a custom min-maps path #212

Closed
MYKEU opened this issue Mar 22, 2021 · 1 comment
Closed

Ability to configure a custom min-maps path #212

MYKEU opened this issue Mar 22, 2021 · 1 comment

Comments

@MYKEU
Copy link

MYKEU commented Mar 22, 2021

Not quite sure if this should be raised as a bug or a feature but currently I am loading the editor files from node modules based on the discussion in #12. That being said, it is working like a treat with the main editor files - my publicPath is set to /assets/ so the below works fine:

loader.config({
  paths: {
    vs: '/assets/vs',
  },
})

However, it appears that there is no way of editing the min-maps path which results in this error message (seems to be ignoring the assets path):

DevTools failed to load SourceMap: Could not load content for http://localhost:3000/min-maps/vs/loader.js.map:
HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

Is there perhaps a way to do this that I am unaware of?

@MYKEU MYKEU closed this as completed Mar 24, 2021
@vladtimss
Copy link

@MYKEU help me please resolve same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants