fix(core): update

This commit is contained in:
Philipp Kunz 2019-04-30 10:39:54 +02:00
parent b7d1321f3f
commit 5289d2af92

View File

@ -37,7 +37,11 @@ export default {
} }), } }),
nodeResolve(), nodeResolve(),
// Allow bundling cjs modules (unlike webpack, rollup doesn't understand cjs) // Allow bundling cjs modules (unlike webpack, rollup doesn't understand cjs)
commonjs(), commonjs({
namedExports: {
'node_modules/@pushrocks/smartstate/dist/index.js': ['SmartState']
}
}),
// Allow node_modules resolution, so you can use 'external' to control // Allow node_modules resolution, so you can use 'external' to control
// which external modules to include in the bundle // which external modules to include in the bundle
// https://github.com/rollup/rollup-plugin-node-resolve#usage // https://github.com/rollup/rollup-plugin-node-resolve#usage