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
{{ message }}
This repository was archived by the owner on Dec 5, 2022. It is now read-only.
install nativescript-localstorage
then require("nativescript-localstorage"); in main.js
then watch:ios i got something like this
ERROR in app.ios.js from UglifyJs
Unexpected token: name (localStorageData) [app.ios.js:17875,8]
after some search i found the UglifyJs work only on es5 i don't know if this is the problem
but if this error have side effect please help me to find solution i don't have good experience in webpack
The text was updated successfully, but these errors were encountered:
Please any one can help wen i commit the exclude node_modules from webpack rules the error disappear that mean i need to convert all the src and his dependence to es5 and then the UglifyJs
will work without any error
//exclude: /(node_modules)/,
but any one can help me if there is any issue in my work because in main.js you need to use nativescript-plugins and that plugins is under node_modules directory then the babel-loader will add it without transform it to es5
install
nativescript-localstorage
then
require("nativescript-localstorage");
in main.jsthen watch:ios i got something like this
after some search i found the UglifyJs work only on es5 i don't know if this is the problem
but if this error have side effect please help me to find solution i don't have good experience in webpack
The text was updated successfully, but these errors were encountered: