Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellij - Generated source code should not be edited (even though it's not generated)

I have a file that just exports a few modules:

export * from './A'
export * from './B'
export * from './C'

But now when I try adding more exports, I get a warning at the top of the file saying:

Generated source code should not be edited. The changes will be lost when sources are regenerated.

I'm not really sure what that means since I manually type the export lines as I add more modules. The warning actually disappears if I add some normal js code like a random function (compared to just having exports).

Should I be concerned with the warning? How do I make it go away?

I'm using WebStorm 2016.2 EAP.

like image 569
Kacy Avatar asked Dec 10 '22 16:12

Kacy


1 Answers

IDE treats this file as minified; Please follow WEB-21928 for updates

like image 111
lena Avatar answered Dec 26 '22 00:12

lena