언어 설정

Menu
Sites
Language
Tizen studio can't produce .wgt file from app with webpack output.

Hello

I manually do build of my project with webpack that produces one output file. When I try to debug/run/build project with index.html that points to that one file Tizen Studio hangs on building phase (there is nothing which requires building, it should only create .wgt from files). Tried to turn off all kind of validations/checkers on js files but it didnt help. 

Responses

3 댓글
Armaan-Ul- Islam

Hello,

Sounds Interesting. So you have compiled 'yourFile.js' to 'anotherFile.js' and linked 'anotherFile.js' from 'index.html', right ? And Now Tizen Studio is unable to pack '.wgt' file or you are trying to use webpack to bundle '.wgt' file ?

David Crandall

In TizenStudio-> preferences

Disable everything having to do with javascript checking.  That helped me out quite a bit.

Harry Hyeongseok Heo

Hello guys~,

For my understanding , you may use webpack as consolidation of js files and the result js file might have large size, so it can take too much time to validate.

You can exclude your large js file like belows.

  • Open Windows > Preferences
  • Go to Tizen Studio > Web > Editor > JavaScript Editor
  • Expand JSHint Properties and go to Exclude files that match these patterns from JSHint.
  • Put on your js file name to exclude.

Preferences page of JavaScript Editor

After that, the js file won't be validated at building process.