{"id":18108064,"date":"2024-10-31T19:06:34","date_gmt":"2024-10-31T19:06:34","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/developing-theme-with-wordpress-scripts\/"},"modified":"2024-10-31T19:06:34","modified_gmt":"2024-10-31T19:06:34","slug":"developing-theme-with-wordpress-scripts","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/developing-theme-with-wordpress-scripts\/","title":{"rendered":"Developing theme with @wordpress\/scripts"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hello! I&#8217;m trying to develop theme with @wordpress\/scripts (<a href=\"https:\/\/developer.wordpress.org\/themes\/advanced-topics\/build-process\/\">https:\/\/developer.wordpress.org\/themes\/advanced-topics\/build-process\/<\/a>) and have some questions:<\/p>\n\n\n\n<ol>\n<li>Is there anything I can do to avoid minifying styles and js files when run build command (I nedd unminified files with comments)? What can I do? Could you give some examples?<\/li>\n\n\n\n<li>I use &#8220;Local&#8221; as a local server for development and see that my <code>package.json<\/code> may have script start:hot to view changes live in the browser. How can I change proxy in my <code>webpack.config.js<\/code>?<\/li>\n<\/ol>\n","protected":false},"template":"","class_list":["post-18108064","topic","type-topic","status-publish","hentry","topic-tag-development"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18108064","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18108064\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18108064"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}