The New Way to Build with AI! Introducing ReUI — the developer platform for agentic UI with shadcn/ui
Browse ReUI Pro

Gulp Build issues and questions

I'm trying to understand all the options on the build using gulp

Using gulp --demo1 will include normal and dark mode files, but the normal are not minified.

Using gulp --prod --demo1 we have an error (can you check that? - error below)

So, my questions are:

  • how can I build the entire assets folder with minified (for production) AND non-minified files?

  • whats is the version (which build parameters) used to generated the dist folder that comes with the source code download?

<pre> PluginError [SyntaxError]: Unterminated string constant at js_error (/home/varantes/workspace/personal/metronic/Metronic/html/tools/node_modules/terser/dist/bundle.min.js:550:11) at parse_error (/home/varantes/workspace/personal/metronic/Metronic/html/tools/node_modules/terser/dist/bundle.min.js:686:9) at /home/varantes/workspace/personal/metronic/Metronic/html/tools/node_modules/terser/dist/bundle.min.js:837:48 at /home/varantes/workspace/personal/metronic/Metronic/html/tools/node_modules/terser/dist/bundle.min.js:1050:24 at Object.next_token [as input] (/home/varantes/workspace/personal/metronic/Metronic/html/tools/node_modules/terser/dist/bundle.min.js:1085:40) at peek (/home/varantes/workspace/personal/metronic/Metronic/html/tools/node_modules/terser/dist/bundle.min.js:1254:56) at next (/home/varantes/workspace/personal/metronic/Metronic/html/tools/node_modules/terser/dist/bundle.min.js:1259:24) at maybe_assign (/home/varantes/workspace/personal/metronic/Metronic/html/tools/node_modules/terser/dist/bundle.min.js:3448:17) at expression (/home/varantes/workspace/personal/metronic/Metronic/html/tools/node_modules/terser/dist/bundle.min.js:3468:24) at params_or_seq_ (/home/varantes/workspace/personal/metronic/Metronic/html/tools/node_modules/terser/dist/bundle.min.js:2048:24) { filename: '0', line: 5, col: 6694, pos: 6824, __safety: undefined, _stack: undefined, plugin: 'terser', showProperties: true, showStack: false } </pre>
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (1)


Hi Vinícius,

We have this issue in the recent version. At the moment, we could not resolve it yet. We will find a way to fix it.

Thanks


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
buy metronic keenthemes mega bundle

ReUI

Open-source React components, blocks and templates built on shadcn/ui and Tailwind CSS by Keenthemes.