Skip to content

Commit

Permalink
Improve chunking
Browse files Browse the repository at this point in the history
  • Loading branch information
lukastaegert committed Jan 12, 2020
1 parent 418bf21 commit c70cd01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions rollup.config.js
Expand Up @@ -97,6 +97,7 @@ export default command => {
'util'
],
treeshake,
manualChunks: { rollup: ['src/node-entry.ts'] },
output: {
banner,
chunkFileNames: 'shared-cjs/[name].js',
Expand Down
2 changes: 1 addition & 1 deletion src/watch/fsevents-importer.ts
Expand Up @@ -4,7 +4,7 @@ let fsEventsImportError: any;
export function loadFsEvents() {
return import('fsevents')
.then(namespace => {
fsEvents = namespace;
fsEvents = namespace.default;
})
.catch(err => {
fsEventsImportError = err;
Expand Down

0 comments on commit c70cd01

Please sign in to comment.