Community
    • Login

    File is not getting minified.

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 2 Posters 1.3k Views 1 Watching
    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 Offline
      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 Offline
        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 Offline
          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

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors