Skip to content

Commit

Permalink
Fix preload issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Jbithell committed Apr 7, 2023
1 parent c9d2626 commit d775f93
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 134 deletions.
117 changes: 3 additions & 114 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "paradisepi",
"version": "2.2.2",
"version": "2.2.3",
"description": "Raspberry Pi based sACN lighting/OSC sound facility control panel",
"main": ".webpack/main",
"scripts": {
Expand Down Expand Up @@ -99,7 +99,6 @@
"style-loader": "^3.3.2",
"ts-loader": "^9.4.2",
"ts-node": "^10.9.1",
"typescript": "^4.9.5",
"webpack-bundle-analyzer": "^4.8.0"
"typescript": "^4.9.5"
}
}
17 changes: 0 additions & 17 deletions webpack.plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,4 @@ export const plugins = [
new ForkTsCheckerWebpackPlugin({
logger: 'webpack-infrastructure',
}),
{
// https://github.com/electron-userland/electron-forge/issues/2412#issuecomment-1013740102
apply(compiler: {
hooks: {
compilation: {
tap: (
arg0: string,
arg1: (compilation: any) => void // eslint-disable-next-line @typescript-eslint/no-var-requires
) => void
}
}
}) {
compiler.hooks.compilation.tap('webpack-asset-relocator-loader', (compilation: any) => {
relocateLoader.initAssetCache(compilation, 'native_modules')
})
},
},
]

0 comments on commit d775f93

Please sign in to comment.