From ebb0aae076649befff74bebef316c01f4e3aae16 Mon Sep 17 00:00:00 2001 From: Sofia Sousa Date: Fri, 31 Aug 2018 15:19:32 +0100 Subject: [PATCH] tp26840 feat: Remove gutenberg dependencies and resolve them from gutenberg/node_modules --- package.json | 12 ++---------- webpack.config.js | 1 + 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 5c7d123..7b329f7 100644 --- a/package.json +++ b/package.json @@ -31,14 +31,7 @@ "WordPress", "WYSIWYG" ], - "dependencies": { - "classnames": "2.2.5", - "jquery": "3.3.1", - "lodash": "4.17.5", - "memize": "1.0.5", - "moment": "2.22.1", - "tinymce": "4.7.2" - }, + "dependencies": {}, "devDependencies": { "@wordpress/babel-plugin-makepot": "1.0.1", "@wordpress/scripts": "1.2.0", @@ -62,9 +55,8 @@ "postcss-wrapper-loader": "0.0.2", "string-replace-webpack-plugin": "^0.1.3", "raw-loader": "0.5.1", - "react": "16.4.1", "sass-loader": "6.0.7", - "webpack": "^4.14.0", + "webpack": "4.8.3", "webpack-cli": "^3.0.8", "webpack-livereload-plugin": "2.1.1", "webpack-rtl-plugin": "github:yoavf/webpack-rtl-plugin#develop" diff --git a/webpack.config.js b/webpack.config.js index 6556592..e81a5aa 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -153,6 +153,7 @@ const config = { externals, resolve: { modules: [ + resolve(__dirname, 'node_modules/gutenberg/node_modules'), __dirname, 'node_modules', ],