mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
Remove externals, show window
This commit is contained in:
parent
1de2490ce3
commit
b5dfa81874
3 changed files with 10 additions and 30 deletions
8
.github/workflows/nodejs.yml
vendored
8
.github/workflows/nodejs.yml
vendored
|
|
@ -13,9 +13,11 @@ jobs:
|
|||
runs-on: ${{matrix.os}}
|
||||
strategy:
|
||||
matrix:
|
||||
os:
|
||||
- macos-latest
|
||||
- ubuntu-latest
|
||||
include:
|
||||
- os: macos-latest
|
||||
name: macos
|
||||
- os: ubuntu-latest
|
||||
name: ubuntu
|
||||
#TODO re-enable these:
|
||||
#- windows-latest
|
||||
fail-fast: false
|
||||
|
|
|
|||
|
|
@ -141,7 +141,11 @@ app.on('ready', () =>
|
|||
|
||||
const hwin = newWindow({width, height, x: startX, y: startY}, cfg, fn, profileName);
|
||||
windowSet.add(hwin);
|
||||
void hwin.loadURL(url);
|
||||
void hwin.loadURL(url)
|
||||
|
||||
hwin.once('ready-to-show', () => {
|
||||
hwin.show();
|
||||
});
|
||||
|
||||
// the window can be closed by the browser process itself
|
||||
hwin.on('close', () => {
|
||||
|
|
|
|||
|
|
@ -100,32 +100,6 @@ const config: webpack.Configuration[] = [
|
|||
]
|
||||
},
|
||||
externals: {
|
||||
'color-convert': 'commonjs color-convert',
|
||||
'color-string': 'commonjs color-string',
|
||||
columnify: 'commonjs columnify',
|
||||
lodash: 'commonjs lodash',
|
||||
ms: 'commonjs ms',
|
||||
'normalize-url': 'commonjs normalize-url',
|
||||
'parse-url': 'commonjs parse-url',
|
||||
'php-escape-shell': 'commonjs php-escape-shell',
|
||||
plist: 'commonjs plist',
|
||||
// 'react-dom': 'commonjs react-dom',
|
||||
'redux-thunk': 'commonjs redux-thunk',
|
||||
redux: 'commonjs redux',
|
||||
reselect: 'commonjs reselect',
|
||||
'seamless-immutable': 'commonjs seamless-immutable',
|
||||
stylis: 'commonjs stylis',
|
||||
'@xterm/addon-unicode11': 'commonjs @xterm/addon-unicode11',
|
||||
args: 'commonjs args',
|
||||
mousetrap: 'commonjs mousetrap',
|
||||
open: 'commonjs open',
|
||||
'@xterm/addon-fit': 'commonjs @xterm/addon-fit',
|
||||
'@xterm/addon-image': 'commonjs @xterm/addon-image',
|
||||
'@xterm/addon-search': 'commonjs @xterm/addon-search',
|
||||
'@xterm/addon-web-links': 'commonjs @xterm/addon-web-links',
|
||||
'@xterm/addon-webgl': 'commonjs @xterm/addon-webgl',
|
||||
'@xterm/addon-canvas': 'commonjs @xterm/addon-canvas',
|
||||
xterm: 'commonjs xterm'
|
||||
},
|
||||
plugins: [
|
||||
new webpack.IgnorePlugin({resourceRegExp: /.*\.js.map$/i}),
|
||||
|
|
|
|||
Loading…
Reference in a new issue