Revert "chore: fix code editor build"

This reverts commit 79fb734a72.
This commit is contained in:
Mo
2022-10-17 15:04:23 -05:00
parent 79fb734a72
commit bb8ac49052

View File

@@ -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'),
},
{