nuejs/nue

In version 0.4.1, executing nue build -- production generate a file that can be no used

hsuna opened this issue · 1 comments

version:0.4.1

create app.nue:

<div id="app" @name="app">
  <div>
    { title }
  </div>

  <script>
    title = "nue title"
  </script>
</div>

run

nue build --production

generate file app.js:

image

result:

Excessive line breaks result in script compilation failure

This is now fixed with nuejs-core 0.3.4. Thank you for reporting! This was an important fix.