forked from neos/neos-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
webpack.config.js
34 lines (32 loc) · 981 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
25
26
27
28
29
30
31
32
33
34
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',
Guest: [
'./polyfills.js',
'./packages/neos-ui-ckeditor-bindings/src/index.js'
],
Vendor: [
'./polyfills.js',
'react',
'react-redux',
'plow-js',
'immutable'
]
},
resolve: {
modules: [
path.resolve(__dirname, './packages/neos-ui/node_modules'),
path.resolve(__dirname, './node_modules')
]
}
}
);