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
Whenever I try to use ES-6 syntax in my code, bundler and minifier throws an error :::: ===> "(Bundler & Minifier) Expected expression:" ,
but here is the twist that in other files all the ES-6 syntax work as expected. So half of .js files in my project are throwing this error and almost half are not. I also tried using bundlerminifierplus but the same result.
Also, if I'm using weboptimizer or any other alternative, if this possible to make different entry points for bundling like in below Json format:::
Use any ES-6 feature like arrow function or any feature of your choice.
Try to minify and bundle.
If all went well Kudos to you.... if not and also faced the same error, help me with getting out of it.
####Current behavior
bundler and minifier throws an error :::: ===> "(Bundler & Minifier) Expected expression:" ,
Expected behavior
should have bundled and minified.
The text was updated successfully, but these errors were encountered:
Installed product versions
Description
Whenever I try to use ES-6 syntax in my code, bundler and minifier throws an error :::: ===> "(Bundler & Minifier) Expected expression:" ,
but here is the twist that in other files all the ES-6 syntax work as expected. So half of .js files in my project are throwing this error and almost half are not. I also tried using bundlerminifierplus but the same result.
Also, if I'm using weboptimizer or any other alternative, if this possible to make different entry points for bundling like in below Json format:::
{
"outputFileName": "wwwroot/css/business.min.css",
"inputFiles": [
"wwwroot/css/site_3.css",
"wwwroot/css/site_4.css",
"wwwroot/css/site.css"
]
},
{
"outputFileName": "wwwroot/js/bundleplus.min.js",
"inputFiles": [
"wwwroot/js/coachingAvail.js",
"wwwroot/js/jobSector.js",
"wwwroot/js/cast.js"
]
},
Steps to recreate
Use any ES-6 feature like arrow function or any feature of your choice.
Try to minify and bundle.
If all went well Kudos to you.... if not and also faced the same error, help me with getting out of it.
####Current behavior
bundler and minifier throws an error :::: ===> "(Bundler & Minifier) Expected expression:" ,
Expected behavior
should have bundled and minified.
The text was updated successfully, but these errors were encountered: