kbss-cvut / fta-fmea-ui

GNU General Public License v3.0
5 stars 6 forks source link

npm scripts does not use .env variable #119

Open blcham opened 1 year ago

blcham commented 1 year ago

npm run start as well others scripts defined package.json should in addition create file ./public/config.js. This is required for npm run start to work properly.

A/C:

hugomrazek commented 1 year ago

Webpack plugins supporting such behavior (e.g. copy-webpack-plugin and string-replace-loader) both require webpack v5, project uses v4.

I suggest the project dependencies to be upgraded first.

blcham commented 1 year ago

agree.