-
Notifications
You must be signed in to change notification settings - Fork 0
/
webpack.config.js
24 lines (21 loc) · 779 Bytes
/
webpack.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
const defaultConfig = require( '@wordpress/scripts/config/webpack.config' );
const config = {
...defaultConfig,
entry: {
'quick-editor': './src/quick-editor',
block: './src/block',
'block-view': './src/block/view.js',
'new-block': './src/new-block',
'new-block-view': './src/new-block/view.ts',
'block-column': './src/new-block/blocks/column',
'block-image': './src/new-block/blocks/image',
'block-name': './src/new-block/blocks/name',
'block-paragraph': './src/new-block/blocks/paragraph',
'block-link': './src/new-block/blocks/link',
hovercards: './src/hovercards',
discussion: './src/discussion',
'wc-my-account': './src/woocommerce/my-account.ts',
'wc-admin-customers': './src/woocommerce/admin-customers.ts',
},
};
module.exports = config;