Commit Graph

10 Commits

Author SHA1 Message Date
Egon Elbre
e10eabe30b web/storagenode: update dependencies
Also pin all web/multinode dependencies, which was missing from
the other change.

Change-Id: Id78749076af6d80e59949efd73c1e10f5b52589c
2022-04-07 07:50:22 +00:00
Egon Elbre
dc0f7b5f77 storagenode,web/storagenode: use go:embed for assets
Go can now directly embed files without relying on external tools.
This makes code use go:embed and avoid the external tooling.

go:embed requires files to be present in the embedded directory,
hence we need to add .keep to "dist" folder. We also add one to
public/.keep, such that it won't be deleted when building storagenode.

Change-Id: I8bef81236be6829ed37ed4c16ef693677b93a631
2022-03-11 16:01:28 +02:00
Egon Elbre
bc6d8c06e3 web: optimize builds
Stylelint and eslint should be run separately and not part of the build
process.

Add a flag STORJ_DEBUG_BUNDLE_SIZE to debug compiled bundle size.

Reduce the number of chunks, it's far from ideal. Once we reduce the
images and browser size, we probably can drop chunking altogether.

Change-Id: I5bdf35ceb140e2c47a30df8d319606d05bfb30dd
2021-10-12 11:29:37 +00:00
Egon Elbre
556b80e06b web/: ignore node_modules while linting css
For some reason in CI environment, stylelint started analyzing code in
node_modules.

Change-Id: I4fdac8e84a320d05506a01de753d19db57536bc4
2021-06-03 16:18:16 +03:00
NickolaiYurchenko
b47381138d web/storagenode: added hash to bundle name
Change-Id: Iab71e7b8b5cb4d0b9d37bdf0d9688410ee1ed549
2020-03-27 14:44:53 +02:00
Vitalii Shpital
fe5cfeb61b
web/storagenode: disk space chart's tooltip size fixed (#3684) 2019-12-09 15:59:20 +02:00
Vitalii Shpital
68cd6f4a67
web: ms edge support bug fixed (#3638) 2019-11-22 19:22:37 +02:00
Vitalii Shpital
2105dfbbdd
web/storagenode: stylelint applied (#3363) 2019-10-28 15:19:57 +02:00
Vitalii Shpital
3880f7a60e
web/storagenode: vue-svg-loader implemented (#3347) 2019-10-25 12:53:35 +03:00
Vitalii Shpital
c5658fa736
web/storagenode: markup and logic for node operator dashboard (#2906) 2019-09-09 19:00:25 +03:00