hastic-zzz / hastic-server

Hastic data management server for analyzing patterns and anomalies from Grafana
GNU General Public License v3.0
330 stars 23 forks source link

Generic node build #867

Closed jonyrock-back closed 4 years ago

jonyrock-back commented 4 years ago

We have two-step build to node 6: we partially build to something which could be run on node 8 (with npm run build-prod) and after we execute npm run build-614 which translates the bundle from previous step.

  1. We should specify target node in console
  2. It should be one step process

I want to do it because I feel that we incorrectly use babel and I want to process node_modules code in place

jonyrock-back commented 4 years ago

to achive this, we need to move specified in .babelrc file target: 6.14 to webpack.prod.conf.js and make it as a variable.

jonyrock-back commented 4 years ago

This task includes https://github.com/hastic/hastic-server/issues/863