mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 09:45:22 +03:00
Still need to include default editor worker
This commit is contained in:
parent
94e30b9914
commit
30ba285c9e
@ -226,7 +226,7 @@ RUN npm install
|
||||
|
||||
COPY web/ ./
|
||||
RUN npm run build \
|
||||
&& mv dist/BASE_PATH/monacoeditorwork/yaml.worker.bundle.js dist/assets/ \
|
||||
&& mv dist/BASE_PATH/monacoeditorwork/* dist/assets/ \
|
||||
&& rm -rf dist/BASE_PATH
|
||||
|
||||
# Collect final files in a single layer
|
||||
|
||||
@ -11,7 +11,7 @@ export default defineConfig({
|
||||
},
|
||||
plugins: [preact(), monacoEditorPlugin.default({
|
||||
customWorkers: [{ label: 'yaml', entry: 'monaco-yaml/yaml.worker' }],
|
||||
languageWorkers: [], // we don't use any of the default languages
|
||||
languageWorkers: ['editorWorkerService'], // we don't use any of the default languages
|
||||
})],
|
||||
test: {
|
||||
environment: 'jsdom',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user