Hung-Han (Henry) Chen
bcfa00aea5
Add splitChunks plugin and its configs
...
Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>
2021-01-07 11:22:49 +08:00
Hung-Han (Henry) Chen
6aec421dc0
Enable persistent cache in renderer/main
...
Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>
2021-01-07 11:21:47 +08:00
Hung-Han (Henry) Chen
c7cf786380
Enable progress bar
...
Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>
2021-01-07 11:21:47 +08:00
Hung-Han (Henry) Chen
b99c3f7df8
Upgrade weboack-cli to 4.2, webpack-dev-server to 4.0.0-beta0, remove 'sockjs' redirect as wds4 uses ws instead
...
Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>
2021-01-07 11:21:44 +08:00
Hung-Han (Henry) Chen
de17ecb13f
Fix webpack warning require.extensions is not supported by webpack. Use a loader instead.
...
Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>
2021-01-07 11:20:09 +08:00
Hung-Han (Henry) Chen
d660760c70
Remove warning DeprecationWarning: config.stats.warningsFilter is deprecated in favor of config.ignoreWarnings
...
Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>
2021-01-07 11:19:37 +08:00
Hung-Han (Henry) Chen
1b6e37883e
Remove library:'' as webpack throws configuration[0].output.library should be an non-empty string
...
Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>
2021-01-07 11:18:39 +08:00
Hung-Han (Henry) Chen
2413938524
Enbale eval-source-map for development for faster recompiling
...
Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>
2021-01-07 11:18:10 +08:00
Hung-Han (Henry) Chen
9ccc9bf790
Remove TerserPlugin options .cache which is not valid in v5, remove parallel:true which is default, remove sourceMap: true as should be enabled via devtool
...
Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>
2021-01-07 11:18:10 +08:00
Hung-Han (Henry) Chen
174faaef0f
Remove ProgressBarPlugin
...
Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>
2021-01-07 11:18:09 +08:00
Jari Kolehmainen
a03da3c572
Remove lingui ( #1874 )
...
* remove lingui
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* babelless
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* tweak ts-loader options
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* tweak renderer webpack config
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-29 14:53:34 +02:00
Lauri Nevala
57d6dfa4b0
Fix getExtensionPageUrl on Windows ( #1609 )
...
* Fix getExtensionPageUrl on Windows
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
* Use path.posix.join() instead
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
* Fix lint issues
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-12-02 13:09:47 +02:00
Sebastian Malton
f3f9f08c0a
lint whole repo ( #1600 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2020-12-02 17:22:10 +08:00
Sebastian Malton
4d3204766b
add retry cap to handleStaticFile to prevent an infitite loop ( #1373 )
...
* add retry cap to handleStaticFile to prevent an infitite loop
* 'yarn -> yarn run' for node_module dependencies
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2020-11-13 15:45:57 -05:00
chh
3eeb395a78
Remove hard-source-webpack-plugin ( #1305 )
...
Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>
2020-11-10 12:13:01 +02:00
chh
85f0ef8c2e
Add webpack hot-reload/cache plugins to improve Lens DX ( #1250 )
...
* Add webpack-dev-server (for hot module replacement) to serve statics, add HardSourceWebpackPlugin to improve re-compiling speed
* Serve statics using webpack-dev-server instead of lens-proxy, redirect request of Lens.html/Lens.js to webpack-dev-server
* Add react-refresh-webpack-plugin and its dep for hot-reload
* Add hot-reload plugin, and make proxy redirects requests to webpackdevserver
* Add hard-source webpack plugin to main process
* Remove parameter 'path' of handleStaticFile
* Upgarde webpack to v4 latest stable
* Fix build error: plugins shouldnt be null
Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>
2020-11-09 21:04:41 +08:00
Roman
f3a0059355
Extension support page ( #1112 )
...
Signed-off-by: Roman <ixrock@gmail.com>
Co-authored-by: Jim Ehrismann <40840436+jim-docker@users.noreply.github.com>
2020-10-24 09:24:54 +03:00
Jari Kolehmainen
4f98a01a8b
Improve how extension-api is exposed/loaded ( #1055 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-10-09 14:12:40 +03:00
Jari Kolehmainen
aa864fc199
Support extensions in main process ( #1032 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-10-08 11:52:45 +03:00
Roman
9a402eab3d
fix: example-extension broken after merging master
...
fix: removed devtools warnings from extension-api bundle
Signed-off-by: Roman <ixrock@gmail.com>
2020-09-23 12:10:02 +03:00
Roman
a3dc928430
Merge branch 'master' into extensions-api
...
# Conflicts:
# package.json
# src/common/cluster-store.ts
# src/renderer/bootstrap.tsx
# src/renderer/components/cluster-manager/clusters-menu.tsx
# static/RELEASE_NOTES.md
# webpack.dll.ts
2020-09-11 12:29:38 +03:00
Roman
f1b03990ea
Extensions loading ( #795 )
...
Signed-off-by: Roman <ixrock@gmail.com>
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-09 13:00:25 +03:00
Sebastian Malton
295333d055
add progress bar for webpack compilation ( #794 )
...
Signed-off-by: Sebastian Malton <smalton@mirantis.com>
Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-09-08 08:44:34 -04:00
Roman
5670312c47
Migrating Vue components to React and stores refactoring ( #585 )
...
Signed-off-by: Roman <ixrock@gmail.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
Co-authored-by: Sebastian Malton <smalton@mirantis.com>
Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com>
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-08-20 08:53:07 +03:00
Jari Kolehmainen
81796af508
Update copyright, eula and contact details ( #690 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-08-14 16:05:57 +03:00
Roman
b7974827d2
Lens restructure ( #540 )
...
Signed-off-by: Roman <ixrock@gmail.com>
2020-06-30 14:35:16 +03:00