You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if i want to create a production build i get the babel notice like in the header. after that i get an error
(node:8872) UnhandledPromiseRejectionWarning: Error: Line 4: Unexpected token
at ErrorHandler.constructError (C:\wamp64\www\medicalpad\wwwroot\node_modules\esprima\dist\esprima.js:5012:22)
at ErrorHandler.createError (C:\wamp64\www\medicalpad\wwwroot\node_modules\esprima\dist\esprima.js:5028:27)
at Parser.unexpectedTokenError (C:\wamp64\www\medicalpad\wwwroot\node_modules\esprima\dist\esprima.js:1985:39)
at Parser.tolerateUnexpectedToken (C:\wamp64\www\medicalpad\wwwroot\node_modules\esprima\dist\esprima.js:1998:42)
at Parser.parseStatementListItem (C:\wamp64\www\medicalpad\wwwroot\node_modules\esprima\dist\esprima.js:3365:31)
at Parser.parseScript (C:\wamp64\www\medicalpad\wwwroot\node_modules\esprima\dist\esprima.js:4723:29)
at Object.parse (C:\wamp64\www\medicalpad\wwwroot\node_modules\esprima\dist\esprima.js:122:61)
at getAst (C:\wamp64\www\medicalpad\wwwroot\node_modules\transpile\lib\get_ast.js:16:21)
at Object.to (C:\wamp64\www\medicalpad\wwwroot\node_modules\transpile\main.js:83:15)
at C:\wamp64\www\medicalpad\wwwroot\node_modules\steal-tools\lib\graph\transpile.js:131:22
We don't want to pass in the babelOptions, we are only running babel for the sake of tree-shaking there, the transpiling happens elsewhere. So the first is the way to go here.
i use fontawesome for my iconset.
if i want to create a production build i get the babel notice like in the header. after that i get an error
it seems that babel trim the content and than the content is corrupt. i searched and found https://stackoverflow.com/questions/29576341/what-does-the-code-generator-has-deoptimised-the-styling-of-some-file-as-it-e/29857361
the
@fortawesome/free-solid-svg-icons/index.es
file is about 570kb.they suggest to set
compact: false
i tried that in my package.jsonbut it didnt work.
if you need a example i can create some.
The text was updated successfully, but these errors were encountered: