You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! At the moment of writing, whenever you change one of the static/js files the changes are not copied to the /dist folder. I'm not sure if this is intentional, but it makes for a poor development experience, as the development process takes about 30 seconds to restart.
Anyway, right now I changed the copy-to-dist.mjs file and added a --watch option and a watch:static script to package.json and I've got myself the functionality I needed locally. Would there be any interest into making this a formal PR? Also, what's the deal with the duplicated scripts on build-tools? I found no references to the.js versions of the scripts that are also on the .mjs format, could they be safely removed?
On a personal note I would advocate for using something other than Webpack, like Snowpack or Vite and take advantage of ESM module loading on the browsers.
The text was updated successfully, but these errors were encountered:
Hiya! All this stuff has just been copied over from the original (yieldfarming.info), I still don't know what an mjs file is a year later :) A PR would be very much welcome.
Hi! At the moment of writing, whenever you change one of the
static/js
files the changes are not copied to the/dist
folder. I'm not sure if this is intentional, but it makes for a poor development experience, as the development process takes about 30 seconds to restart.Anyway, right now I changed the
copy-to-dist.mjs
file and added a--watch
option and awatch:static
script topackage.json
and I've got myself the functionality I needed locally. Would there be any interest into making this a formal PR? Also, what's the deal with the duplicated scripts on build-tools? I found no references to the.js
versions of the scripts that are also on the.mjs
format, could they be safely removed?On a personal note I would advocate for using something other than Webpack, like Snowpack or Vite and take advantage of ESM module loading on the browsers.
The text was updated successfully, but these errors were encountered: