Skip to content

Commit b2ec238

Browse files
Add externals package
1 parent 45cfcc2 commit b2ec238

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

classes/Visualizer/Gutenberg/webpack.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ const NODE_ENV = process.env.NODE_ENV || 'development';
33
const MiniCssExtractPlugin = require( 'mini-css-extract-plugin' );
44

55
module.exports = {
6+
externals: {
7+
'lodash': 'lodash'
8+
},
69
mode: NODE_ENV,
710
entry: './src/index.js',
811
output: {

0 commit comments

Comments
 (0)