Skip to content

Instantly share code, notes, and snippets.

@marconi1992
Created September 15, 2019 04:52
Show Gist options
  • Save marconi1992/e6692a35a4f0a1396e7991d56ac8b5f9 to your computer and use it in GitHub Desktop.
Save marconi1992/e6692a35a4f0a1396e7991d56ac8b5f9 to your computer and use it in GitHub Desktop.
import NovaConsumerPlugin from '@ara/webpack-nova-consumer'
export default {
...
build: {
/*
** You can extend webpack config here
*/
extend (config, ctx) {
config.plugins.push(new NovaConsumerPlugin({
novas: [
{
entry: 'http://localhost:8080/client.js',
views: [
'Example'
]
}
]
}))
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment