mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-10 07:46:59 +00:00
package server with client
This commit is contained in:
@@ -1,10 +1,19 @@
|
||||
import type IForkTsCheckerWebpackPlugin from 'fork-ts-checker-webpack-plugin'
|
||||
import * as path from 'path'
|
||||
import PermissionsPlugin from './permissions-plugin'
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||
const ForkTsCheckerWebpackPlugin: typeof IForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin')
|
||||
const CopyWebpackPlugin = require('copy-webpack-plugin')
|
||||
|
||||
export const plugins = [
|
||||
new ForkTsCheckerWebpackPlugin({
|
||||
logger: 'webpack-infrastructure',
|
||||
}),
|
||||
new CopyWebpackPlugin({
|
||||
patterns: [{ from: 'resources', to: 'resources' }],
|
||||
}),
|
||||
new PermissionsPlugin({
|
||||
resourcePath: '.webpack/renderer/resources/server',
|
||||
}),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user