-
Notifications
You must be signed in to change notification settings - Fork 208
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
Terminal token name: "x" not found #950
Comments
Hello @jgromero7 I don't think I can add anything beyond the discussion in #896 there just are not many new details in this issue. did you try "ng eject" and customize the minification options? My suggestion is that you would re-produce the problem in a small example repo which can be cloned and inspected I don't have enough (any 😄 ) familiarity with angular CLI tools to answer this without debugging the code... |
Hola @bd82 According to what is mentioned in your answer, I attached the link of the repository with the reply of what I am doing in the project. I can make use of all the resources when I use But when I use the following command All the logic of the token is in the following route
|
Hello. This is not really a minimal example, it is your whole repo 😄 Option 1 - SerializationAnyhow I am not seeing that you are using serialization of the grammar at all: Option 2 - Custom Webpack ConfigurationIt seems like the Angular CLI are in the process of removing the So you may be able to use this to modify the minification options to avoid breaking your Chevrotain grammar. Option 3 - Separate the Parser's build.You could also try implementing your Parser as a separate module, i.e not part of your angular |
Closing this due to inactivity, re-open if any more help is needed |
I am following up on this issue
#896
And of its solutions as explained in the following answer
#896 (comment)
From which I did not obtain the expected result, following the following example:
https://github.com/SAP/chevrotain/tree/master/examples/parser/serialized_grammar
Getting the following result or error message.
Unexpected token *
Important note, I am working on Angular 6 and TypeScript
My questions are the following:
I appreciate any help you can provide
The text was updated successfully, but these errors were encountered: