forked from neos/neos-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
webpack.config.js
36 lines (34 loc) · 1.06 KB
/
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
25
26
27
28
29
30
31
32
33
34
35
36
const merge = require('webpack-merge');
const path = require('path');
const sharedWebpackConfig = require('./packages/build-essentials/src/webpack.config.js');
delete sharedWebpackConfig.__internalDependencies;
module.exports = merge(
sharedWebpackConfig,
{
entry: {
Host: [
'./packages/neos-ui/src/index.js'
],
HostOnlyStyles: [
'./packages/neos-ui/src/styleHostOnly.css',
'./packages/neos-ui/src/Containers/EditModePanel/Panel/slick-styles.vanilla-css'
],
Guest: [
'./polyfills.js',
'./packages/neos-ui-ckeditor-bindings/src/index.js'
],
Vendor: [
'./polyfills.js',
'react',
'react-redux',
'plow-js'
]
},
resolve: {
modules: [
path.resolve(__dirname, './packages/neos-ui/node_modules'),
path.resolve(__dirname, './node_modules')
]
}
}
);