fixes to webpack config (uncommenting)

This commit is contained in:
Wyatt Johnson
2017-06-08 17:32:01 -06:00
parent 8d2c1b7247
commit 99174565fa
+20 -20
View File
@@ -166,34 +166,34 @@ const applyConfig = (entries, root = {}) => _.merge({}, config, {
module.exports = [
// Coral Embed
// applyConfig([
applyConfig([
// // Load in the root embed.
// {
// name: 'embed',
// path: path.join(__dirname, 'client/coral-embed/src/index')
// }
// Load in the root embed.
{
name: 'embed',
path: path.join(__dirname, 'client/coral-embed/src/index')
}
// ], {
// output: {
// library: 'Coral'
// }
// }),
], {
output: {
library: 'Coral'
}
}),
// All framework targets/embeds/plugins.
applyConfig([
// // Load in all the targets.
// ...buildTargets.map((target) => ({
// name: `${target}/bundle`,
// path: path.join(__dirname, 'client/', target, '/src/index')
// })),
...buildTargets.map((target) => ({
name: `${target}/bundle`,
path: path.join(__dirname, 'client/', target, '/src/index')
})),
// // Load in all the embeds.
// ...buildEmbeds.map((embed) => ({
// name: `embed/${embed}/bundle`,
// path: path.join(__dirname, 'client/', `coral-embed-${embed}`, '/src/index')
// })),
// Load in all the embeds.
...buildEmbeds.map((embed) => ({
name: `embed/${embed}/bundle`,
path: path.join(__dirname, 'client/', `coral-embed-${embed}`, '/src/index')
})),
// Load in all the plugin entries.
...targetPlugins.reduce((entries, plugin) => {