From 79fb734a722383e3075656755a4471c77c6d7782 Mon Sep 17 00:00:00 2001 From: Mo Date: Mon, 17 Oct 2022 14:22:26 -0500 Subject: [PATCH] chore: fix code editor build --- .../org.standardnotes.code-editor/webpack.config.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/components/src/Packages/Editors/org.standardnotes.code-editor/webpack.config.js b/packages/components/src/Packages/Editors/org.standardnotes.code-editor/webpack.config.js index cea894926..3115b4749 100644 --- a/packages/components/src/Packages/Editors/org.standardnotes.code-editor/webpack.config.js +++ b/packages/components/src/Packages/Editors/org.standardnotes.code-editor/webpack.config.js @@ -31,19 +31,19 @@ module.exports = { new CopyPlugin({ patterns: [ { - from: path.resolve(__dirname, 'node_modules/codemirror/lib'), + from: path.resolve(__dirname, '../../../../../../node_modules/codemirror/lib'), to: path.resolve(__dirname, 'dist/codemirror/lib'), }, { - from: path.resolve(__dirname, 'node_modules/codemirror/mode'), + from: path.resolve(__dirname, '../../../../../../node_modules/codemirror/mode'), to: path.resolve(__dirname, 'dist/codemirror/mode'), }, { - from: path.resolve(__dirname, 'node_modules/codemirror/addon'), + from: path.resolve(__dirname, '../../../../../../node_modules/codemirror/addon'), to: path.resolve(__dirname, 'dist/codemirror/addon'), }, { - from: path.resolve(__dirname, 'node_modules/codemirror/keymap/vim.js'), + from: path.resolve(__dirname, '../../../../../../node_modules/codemirror/keymap/vim.js'), to: path.resolve(__dirname, 'dist/codemirror/keymap'), }, {