From b14e0617a126ed3b8b9256542ce857c060e3e295 Mon Sep 17 00:00:00 2001 From: Marcin Aman Date: Wed, 29 Jul 2020 17:32:13 +0200 Subject: Split into files and move svg to external one --- plugins/base/frontend/webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/base/frontend/webpack.config.js') diff --git a/plugins/base/frontend/webpack.config.js b/plugins/base/frontend/webpack.config.js index 559f5792..3372b37f 100644 --- a/plugins/base/frontend/webpack.config.js +++ b/plugins/base/frontend/webpack.config.js @@ -16,7 +16,7 @@ const webpackConfig = () => ({ entry: `${componentsPath}/root.tsx`, resolve: { mainFields: ['module', 'browser', 'main'], - extensions: ['.tsx', '.ts', '.js'], + extensions: ['.tsx', '.ts', '.js', '.svg'], alias: { react: resolve('./node_modules/react'), 'react-dom': resolve('./node_modules/react-dom'), -- cgit