Community
    • Login

    File is not getting minified.

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 2 Posters 589 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • lokesh shindeL
      lokesh shinde
      last edited by

      Hi Notepad++ Team,

      The vendor.js minified file was created when we used yarn build to build our React application. However, when I open it in Notepad++,
      it appears un-minified, even though it functions properly in Notepad Editor and VS Code. Could you please explain why this is occurring
      to me?

      Thank you

      rdipardoR 1 Reply Last reply Reply Quote 0
      • rdipardoR
        rdipardo @lokesh shinde
        last edited by

        Click View on the option menu, find Word wrap, and remove the ✅ (check mark) if it’s visible:

        npp-wrap-on.png

        Note that file contents are not altered by word wrapping; the line breaks are only visual.

        By default, MS Notepad and VS Code do not have wrapping enabled — although the Notepad version on my system (10.0.19045.3930) does appear to wrap lines after a certain limit:

        ms-np-no-wrap.png

        vscode-no-wrap.png

        1 Reply Last reply Reply Quote 4
        • lokesh shindeL
          lokesh shinde
          last edited by

          I tried the above solution and it works perfectly. Nicely explain with screen shot.Thank you so much for your help. Really grateful.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors