From bb8ac49052136b3f688f19df5c71c2c32a85ed51 Mon Sep 17 00:00:00 2001 From: Mo Date: Mon, 17 Oct 2022 15:04:23 -0500 Subject: [PATCH] Revert "chore: fix code editor build" This reverts commit 79fb734a722383e3075656755a4471c77c6d7782. --- .../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 3115b4749..cea894926 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'), }, {